plotSubcloneBar: Plot subclone proportions in each sample as stacked bar chart

plotSubcloneBarR Documentation

Plot subclone proportions in each sample as stacked bar chart

Description

Plot subclone proportions in each sample as stacked bar chart

Usage

plotSubcloneBar(
  subclone_props,
  palette = viridis::viridis,
  sample_names = NULL,
  label_cluster = FALSE
)

Arguments

subclone_props

matrix of subclone proportions (returned from calcSubcloneProportions)

sample_names

(Optional) Vector of sample names. Should be in the order of columns of subclone_props

label_cluster

(Default FALSE) Whether to add cluster label to text on stacked bar


KarchinLab/pictograph documentation built on Oct. 25, 2024, 10:10 a.m.