plot_sigs_grouped: Visualize the output of siglasso, grouped and averaged, as a...

View source: R/visualization.R

plot_sigs_groupedR Documentation

Visualize the output of siglasso, grouped and averaged, as a dotchart

Description

Show a dotchart of the signature fractions in samples, summarized by groups. If groups are not supplied, it plots every sample

Usage

plot_sigs_grouped(sig_weights, groups, stat = "mean", cex = 0.8, pt.cex = 1.5)

Arguments

sig_weights

A matrix of weigths of signatures in multiple samples

groups

A vector of factors indicating the groups of each samples. If not supplied, it will plot all samples individually

stat

How to aggregate the weights in a group. Choose "mean" or "median". Default is mean.

cex

the character size

pt.cex

the plotting dots size


gersteinlab/siglasso documentation built on Sept. 5, 2022, 8:45 p.m.