basic_heat_sub: Heatmap of User brush selection

View source: R/utils_analysis_random.R

basic_heat_subR Documentation

Heatmap of User brush selection

Description

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.

Usage

basic_heat_sub(ht_brush, ht, ht_pos_main, heatmap_data)

Arguments

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

Value

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.


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.