man/draw_dend-Heatmap-method.rd
12e85497
 \name{draw_dend-Heatmap-method}
 \alias{draw_dend,Heatmap-method}
 \alias{draw_dend}
d1da987e
 \title{
6f1307c6
 Draw dendrogram on row or column
d1da987e
 }
 \description{
6f1307c6
 Draw dendrogram on row or column
d1da987e
 }
 \usage{
12e85497
 \S4method{draw_dend}{Heatmap}(object,
ba8a5070
     which = c("row", "column"), k = 1, max_height = NULL, ...)
 }
d1da987e
 \arguments{
 
   \item{object}{a \code{\link{Heatmap-class}} object.}
   \item{which}{is dendrogram put on the row or on the column of the heatmap?}
   \item{k}{a matrix may be splitted by rows, the value identifies which row-slice.}
   \item{max_height}{maximum height of the dendrograms.}
   \item{...}{pass to \code{\link[grid]{viewport}}, basically for defining the position of the viewport.}
ba8a5070
 
d1da987e
 }
 \details{
6f1307c6
 If the matrix is split into several row slices, a list of dendrograms will be drawn by 
 the heatmap that each dendrogram corresponds to its row slices.
7ab3fd24
 
6f1307c6
 A viewport is created which contains dendrograms.
7ab3fd24
 
6f1307c6
 This function is only for internal use.
d1da987e
 }
 \value{
6f1307c6
 This function returns no value.
d1da987e
 }
 \seealso{
6f1307c6
 \code{\link{grid.dendrogram}}
d1da987e
 }
 \author{
6f1307c6
 Zuguang Gu <z.gu@dkfz.de>
d1da987e
 }
 \examples{
12e85497
 # There is no example
f597719b
 NULL
ba8a5070
 
f597719b
 }