plotSubtypesCMS.RF: Visualization of the results of subtypeCMS.RF(). Creates...

View source: R/plot_tools.R

plotSubtypesCMS.RFR Documentation

Visualization of the results of subtypeCMS.RF(). Creates barplot of posterior probabilities per sample. Also plots a heatmap of the expression of the random forest genes, using all samples. (This part has to be re-implemented. Pending on the multiFactorHeatmap rewrite.)

Description

Visualization of the results of subtypeCMS.RF(). Creates barplot of posterior probabilities per sample. Also plots a heatmap of the expression of the random forest genes, using all samples. (This part has to be re-implemented. Pending on the multiFactorHeatmap rewrite.)

Usage

plotSubtypesCMS.RF(
  res,
  orderBy = c("CMS4", "CMS1", "CMS2", "CMS3"),
  names = NULL
)

Arguments

res

- the result of subtypeCMS.RF()

Value

barplot of the posterior probabilities for all samples

Examples

mat = get_TCGA_synapse()
res = subtypeCMS.RF(mat)
plotSubtypesCMS.RF(res)

aeolianine/CRCsubtyping documentation built on Jan. 13, 2023, 12:16 p.m.