plot_density_scores: plots the density of the model scores for subtypes (see...

View source: R/fn_spongeffects_utility.R

plot_density_scoresR Documentation

plots the density of the model scores for subtypes (see Boniolo and Hoffmann 2022 et al. Fig. 2)

Description

plots the density of the model scores for subtypes (see Boniolo and Hoffmann 2022 et al. Fig. 2)

Usage

plot_density_scores(trained_model, spongEffects, meta_data, label, sampleIDs)

Arguments

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

meta_data_type

TCGA or METABRIC

Value

plots density scores for subtypes


mlist/SPONGE documentation built on Feb. 12, 2023, 1:22 a.m.