heat_sub: Draw sub heatmap from brush input

View source: R/fct_03_clustering.R

heat_subR Documentation

Draw sub heatmap from brush input

Description

Use the brush input from the main heatmap to create a larger subheatmap.

Usage

heat_sub(
  ht_brush,
  ht,
  ht_pos_main,
  heatmap_data,
  sample_info,
  select_factors_heatmap,
  cluster_meth
)

Arguments

ht_brush

Brush input from the main heatmap

ht

Main heatmap object

ht_pos_main

Position of brush on main heatmap

heatmap_data

Matrix of data for the heatmap from process_heatmap_data()

sample_info

Matrix of experiment design file information

select_factors_heatmap

Group design to label by

cluster_meth

Integer indicating which clustering method to use 1 for hierarchical and 2 for kmeans.

Value

A list containing a Heatmap from the brush selection of the main heatmap, the submap data matrix, the groups for the submap, the submap legend, and data for the click info.

See Also

Other heatmaps: cluster_heat_click_info(), heatmap_main(), process_heatmap_data(), sub_heat_ann()

Other clustering functions: cluster_heat_click_info(), draw_sample_tree(), heatmap_main(), k_means_elbow(), process_heatmap_data(), sd_density(), sub_heat_ann()


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