-
Notifications
You must be signed in to change notification settings - Fork 231
/
Copy pathcolumn_dend-HeatmapList-method.Rd
40 lines (38 loc) · 1.06 KB
/
column_dend-HeatmapList-method.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\name{column_dend-HeatmapList-method}
\alias{column_dend,HeatmapList-method}
\title{
Get Column Dendrograms from a hHeatmap List
}
\description{
Get Column Dendrograms from a hHeatmap List
}
\usage{
\S4method{column_dend}{HeatmapList}(object, name = NULL, on_slice = FALSE)
}
\arguments{
\item{object}{A \code{\link{HeatmapList-class}} object.}
\item{name}{Name of a specific heatmap.}
\item{on_slice}{If the value is TRUE, it returns the dendrogram on the slice level.}
}
\value{
The format of the returned object depends on whether rows/columns of the heatmaps are split.
}
\author{
Zuguang Gu <[email protected]>
}
\examples{
mat = matrix(rnorm(100), 10)
ht_list = Heatmap(mat) + Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) + Heatmap(mat, column_km = 2)
ht_list = draw(ht_list)
column_dend(ht_list)
column_dend(ht_list, on_slice = TRUE)
ht_list = Heatmap(mat) \%v\% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
ht_list = Heatmap(mat, column_km = 2) \%v\% Heatmap(mat)
ht_list = draw(ht_list)
column_dend(ht_list)
}