View source: R/plotSignatures.R
plotSignatures | R Documentation |
Takes results from extractSignatures
and plots decomposed mutational signatures as a barplot.
plotSignatures(
nmfRes = NULL,
contributions = FALSE,
absolute = FALSE,
color = NULL,
patient_order = NULL,
font_size = 0.6,
show_title = TRUE,
sig_db = "SBS_v34",
axis_lwd = 1,
title_size = 0.9,
show_barcodes = FALSE,
yaxisLim = NA,
...
)
nmfRes |
results from |
contributions |
If TRUE plots contribution of signatures in each sample. |
absolute |
Whether to plot absolute contributions. Default FALSE. |
color |
colors for each Ti/Tv conversion class. Default NULL |
patient_order |
User defined ordering of samples. Default NULL. |
font_size |
font size. Default 0.6 |
show_title |
If TRUE compares signatures to COSMIC signatures and prints them as title |
sig_db |
Only applicable if show_title is TRUE. can be |
axis_lwd |
axis width. Default 1. |
title_size |
size of title. Default 1.3 |
show_barcodes |
Default FALSE |
yaxisLim |
Default NA. |
... |
further plot options passed to |
Nothing
trinucleotideMatrix
plotSignatures
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.