View source: R/plot_signature_effects.R
plot_signature_effects | R Documentation |
Compare the extent to which mutational signatures contribute mutations (mutational source share) to the degree to which they contribute high-effect mutations (cancer effect share).
plot_signature_effects(
mutational_effects = NULL,
signature_groupings = "auto",
viridis_option = NULL,
num_sig_groups = 7,
other_color = "white"
)
mutational_effects |
Output from mutational_signature_effects(). To compare groups of samples, supply a named list with each element corresponding to output from a separate run of mutational_signature_effects(). |
signature_groupings |
A data.table of signature names and descriptions; signatures with
identical descriptions are grouped together. Only signatures present in the data get displayed.
Setting to "auto" (the default) uses the table returned by
Alternatively, setting |
viridis_option |
A viridis color mapping, specified with a single letter ('A' to 'H'). By default, map 'G' (mako) unless using Cannataro signature groupings. |
num_sig_groups |
How many groups of signatures to display. Groups are ordered by their highest effect shares, and the rest get lumped into an "other signatures" group. |
other_color |
Color to use for signatures in the "other" group, supplied as a scalar character. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.