View source: R/utils_analysis_random.R
heat_click_info | R Documentation |
Create HTML code for a cell of information on the cell of the sub-heatmap that the User clicks on. The cell contains the expression value, the sample, the gene, and the group.
heat_click_info(
click,
ht_sub,
ht_sub_obj,
ht_pos_sub,
sub_groups,
group_colors,
data
)
click |
Information from the User clicking on a cell of the sub-heatmap |
ht_sub |
The drawn sub-heatmap |
ht_sub_obj |
The sub-heatmap ComplexHeatmap object |
ht_pos_sub |
Position information for the sub-heatmap |
sub_groups |
Vector of the groups that the samples belong to |
group_colors |
color of the top annotation that is used for each group |
data |
Sub data matrix that is plotted in the sub-heatmap |
HTML code that will be used in the shiny UI to tell the user the information of the cell they selected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.