View source: R/fct_12_heatmap.R
deg_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, the group and the direction of the fold change.
deg_click_info(
click,
ht_sub,
ht_sub_obj,
ht_pos_sub,
sub_groups,
group_colors,
bar,
data
)
click |
Information fro what cell is clicked in 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 |
The color of the top annotation that is used for each group and the side annotation that denotes the direction of the expression regulation |
bar |
Vector to signify a positive (1) expression fold change or a negative (-1) change |
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.