plot_hm2: A Function That Plots Heatmaps.

View source: R/utils.R

plot_hm2R Documentation

A Function That Plots Heatmaps.

Description

This function plots heatmaps.

Usage

plot_hm2(study, pf_col, exp_grp_col_label, exp_grp_idx, platform_idx,
  method_hclust = "complete", nb_clust = 2, var = "raw",
  PLOT_HM_raw = TRUE, USE_CLUST = FALSE, CLUST_ROW = FALSE,
  CLUST_COL = FALSE, BREAK_TOO_EXPENSIVE = TRUE,
  colors = c("royalblue", "springgreen", "yellow", "red"), ...)

Arguments

study

An epimedtools Study RC object

pf_col

A platform column name use to label gene axis

exp_grp_col_label

An exp_grp column name use to label sample

exp_grp_idx

A vector indexing samples

platform_idx

A vector indexing genes

method_hclust

A string specifying hclust method to use

nb_clust

An interger specifying the number of cluster

var

A string defining the distance used to cluster data

PLOT_HM_raw

A boolean specifying if heatmap needs to be ploted

USE_CLUST

A boolean specifying if dendogram needs to be ploted

CLUST_ROW

A boolean specifying if row dendogram needs to be ploted

CLUST_COL

A boolean specifying if column dendogram needs to be ploted

BREAK_TOO_EXPENSIVE

A boolean specifying if too expensive operation must be breaked.

colors

Colors to interpolate; must be a valid argument to col2rgb().

...

Parameters passed to gplots::heatmap.2 function


fchuffar/epimedtools documentation built on Feb. 3, 2024, 2:21 a.m.