View source: R/fn_spongeffects_utility.R
plot_heatmaps | R Documentation |
plots the heatmaps from training_and_test_model (see Boniolo and Hoffmann 2022 et al. Fig. 6)
plot_heatmaps( trained_model, spongEffects, meta_data, label, sampleIDs, Modules_to_Plot = 10, show.rownames = T, show.colnames = F, title )
trained_model |
returned from train_and_test_model |
spongEffects |
output of enrichment_modules() |
meta_data |
metadata of samples (retrieved from prepare_tcga_for_spongEffects() or from prepare_metabric_for_spongEffects()) |
label |
Column of metadata to use as label in classification model |
sampleIDs |
Column of metadata containing sample/patient IDs to be matched with column names of spongEffects scores |
Modules_to_Plot |
Number of modules to plot in the heatmap. Default = 2 |
show.rownames |
Add row names (i.e. module names) to the heatmap. Default = F |
show.colnames |
Add column names (i.e. sample names) to the heatmap. Default = F |
ComplexHeatmap object NOT FUNCTIONAL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.