heat_click_info: HTML code for sub-heatmap selected cell

View source: R/utils_analysis_random.R

heat_click_infoR Documentation

HTML code for sub-heatmap selected cell

Description

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.

Usage

heat_click_info(
  click,
  ht_sub,
  ht_sub_obj,
  ht_pos_sub,
  sub_groups,
  group_colors,
  data
)

Arguments

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

Value

HTML code that will be used in the shiny UI to tell the user the information of the cell they selected.


espors/idepGolem documentation built on Oct. 27, 2024, 4:56 a.m.