Description Usage Arguments Value Author(s) See Also Examples
Select a position in the heatmap
1 2 | selectPosition(ht_list, pos = NULL, mark = TRUE, verbose = TRUE,
ht_pos = NULL)
|
ht_list |
A |
mark |
Whether mark the selected position as a point. |
pos |
If the value is |
verbose |
Whether to print messages. |
ht_pos |
A value returned by |
A DataFrame
object with row index and column index corresponding to the selected position.
Zuguang Gu <z.gu@dkfz.de>
The code for this shiny app is at https://github.com/jokergoo/ComplexHeatmap/blob/master/inst/app/app.R
1 2 3 4 5 6 7 8 9 | if(interactive()) {
m = matrix(rnorm(100), 10)
rownames(m) = 1:10
colnames(m) = 1:10
ht = Heatmap(m)
ht = draw(ht)
selectPosition(ht)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.