deg_click_info: HTML code for sub-heatmap selected cell

View source: R/fct_12_heatmap.R

deg_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, the group and the direction of the fold change.

Usage

deg_click_info(
  click,
  ht_sub,
  ht_sub_obj,
  ht_pos_sub,
  sub_groups,
  group_colors,
  bar,
  data
)

Arguments

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

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 April 23, 2024, 1:11 p.m.