plot_96_profile {MutationalPatterns}R Documentation

Plot 96 trinucleotide profile

Description

Plot relative contribution of 96 trinucleotides

Usage

plot_96_profile(mut_matrix, colors, ymax = 0.2, condensed = FALSE)

Arguments

mut_matrix

96 trinucleotide profile matrix

colors

6 value color vector

ymax

Y axis maximum value, default = 0.2

condensed

More condensed plotting format. Default = F.

Value

96 trinucleotide profile plot

See Also

mut_matrix

Examples

## See the 'mut_matrix_stranded()' example for how we obtained the
## mutation matrix with transcriptional strand information:
mut_mat <- readRDS(system.file("states/mut_mat_data.rds",
                                package="MutationalPatterns"))

## Plot the 96-profile of three samples
plot_96_profile(mut_mat[,c(1,4,7)])


[Package MutationalPatterns version 1.8.0 Index]