Build a barplot to visualize the relative abundance of mutation counts in a mutational signature or biological sample of interest.
plotMutTypeProfile(
mutCounts,
mutLabs,
freq = TRUE,
ylim = "auto",
ylab = "Fraction of Variants",
xlab = "Sequence Motifs",
xaxis_cex = 0.475,
cols = c("#4eb3d3", "#040404", "#b30000", "#bdbdbd", "#41ab5d", "#dd3497"),
main = "MutType Profile"
)
data.frame including mutation types counts or frequencies, such as a data.frame of mutation counts from samples, or mutation type frequencies from a mutational signature.
character vector, labels to be used for the mutation types
logical, shall frequency be plotted rather than counts. Defaults to TRUE
values used for ylim. Defaults to "auto" (ylim automatically set)
string, used as y-axis title. Defaults to "Fraction of Variants"
string, used as x-axis title. Defaults to "Sequence Motifs"
numeric, cex value for the xaxis
character vector, indicates the colors to be used for the bars. It typically requires 6 colors.
string, tutle of the plot. Defaults to "MutType Profile"
NULL. A plot is printed to the active device.
This function is part of the user-interface set of tools included in mutSignatures. This is an exported function.
More information and examples about mutational signature analysis can be found here:
GitHub Repo: https://github.com/dami82/mutSignatures/
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6