plot_activity_heatmap: Signature activity heatmap

View source: R/cal_activity.R

plot_activity_heatmapR Documentation

Signature activity heatmap

Description

Plots a heatmap showing signature activities in a dataset.

Usage

plot_activity_heatmap(activity, signatures = NULL, fix_color_range = TRUE,
  is_pathway = FALSE)

Arguments

activity

a data.frame that stores the signature activities for each sample in a dataset. The first column is signature name and activity values start from the second column.

signatures

a character vector specifying which signatures to include in the heatmap (default: NULL, all signatures will be included).

fix_color_range

logical. If TRUE, fix the heatmap color range to the maximum activity range of the input activity. If FALSE, heatmap color range is determined by the activity ranges of the selected signatures. (default: TRUE)

is_pathway

logical, indicates whether the input activity stores pathway activity. If TRUE, figure margin is set to a larger value to better display pathway names, which are much longer than signature names.


greenelab/ADAGEpath documentation built on May 25, 2022, 7:11 a.m.