[.Heatmap | R Documentation |
Subset a Heatmap
## S3 method for class 'Heatmap'
x[i, j]
x |
A |
i |
Row indices. |
j |
Column indices. |
This functionality is quite experimental. It should be applied before the layout is initialized.
m = matrix(rnorm(100), nrow = 10)
rownames(m) = letters[1:10]
colnames(m) = LETTERS[1:10]
ht = Heatmap(m)
ht[1:5, ]
ht[1:5]
ht[, 1:5]
ht[1:5, 1:5]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.