View source: R/utils_analysis_random.R
basic_heat_sub | R Documentation |
Create a heatmap from the brush selection of the main heatmap. Used in iDEP to create an interactive heatmap and enable the User to zoom in on areas they find interesting.
basic_heat_sub(ht_brush, ht, ht_pos_main, heatmap_data)
ht_brush |
Brush information from the User on the main heatmap |
ht |
Main heatmap to create the sub-heatmap from |
ht_pos_main |
Position information from the main heatmap to use for the sub-heatmap |
heatmap_data |
Data matrix that is being plotted in the main heatmap |
A ComplexHeatmap object that will be inputted into the draw function in the server, the sub-heatmap data matrix, the group color mapping for the annotation, and the groups that the columns fall into.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.