plot_activity_heatmap | R Documentation |
Plots a heatmap showing signature activities in a dataset.
plot_activity_heatmap(activity, signatures = NULL, fix_color_range = TRUE, is_pathway = FALSE)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.