plotSignatures {maftools}R Documentation

Plots decomposed mutational signatures

Description

Takes results from extractSignatures and plots decomposed mutational signatures as a barplot.

Usage

plotSignatures(nmfRes = NULL, contributions = FALSE, color = NULL,
  patient_order = NULL, font_size = 1.2, axis_lwd = 2, title_size = 0.9,
  ...)

Arguments

nmfRes

results from extractSignatures

contributions

If TRUE plots contribution of signatures in each sample.

color

colors for each Ti/Tv conversion class. Default NULL

patient_order

User defined ordering of samples. Default NULL.

font_size

font size. Default 1.2

axis_lwd

axis width. Default 2.

title_size

size of title. Default 1.3

...

further plot options passed to barplot

Value

ggplot object if contributions is TRUE

See Also

trinucleotideMatrix plotSignatures


[Package maftools version 1.4.28 Index]