plot_sigs: Visualize the output of siglasso as barplots

View source: R/visualization.R

plot_sigsR Documentation

Visualize the output of siglasso as barplots

Description

Show a barplot of the signature fractions in multiple samples

Usage

plot_sigs(sig_weights, plot_colors = NA, re_order = F, sample_order)

Arguments

sig_weights

A matrix of weigths of signatures in multiple samples

plot_colors

Colors for plotting, if NA, it generate its own colors

re_order

Should it reorder the samples, default is False and always reorder if sample_order is provided

sample_order

A vector of how samples should be ordered. If not supplied, it will order by the sum of weights


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