Description Usage Arguments Author(s) Examples
A swap function of pheatmap, the inputs can be one or two matix
1 2 3 4 5 6 7 8 |
data1 |
a numeric matrix |
data2 |
a numeric matrix |
cluster |
logic value to indicate whether to cluster or not |
display_numbers |
logic value |
cellwidth |
cellwidth |
cellheight |
cellheight |
Zhonghui Gai
1 2 3 4 5 6 | pheatmap2(iris[, -5])
pheatmap2(iris[c(1:10, 60:70, 100:110), -5])
pheatmap2(iris[, -5], cluster = T)
pheatmap2(iris[, -5], iris[, -5])
pheatmap2(iris[c(1:10, 60:70, 100:110), -5], display_numbers = T)
pheatmap2(t(iris[c(1:10, 60:70, 100:110), -5]), display_numbers = T, cellwidth = 25, cellheight = 25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.