Description Usage Arguments Value
View source: R/plot_activities.R
Plot the activities of signature(s)
1 2 3 4 5 6 7 8 9 10 11 12 |
x |
A TidySig dataframe/tibble |
title |
A title for the plot |
xlabel |
An x-axis label |
ylabel |
A y-axis label |
ylimits |
Use custom ylimits (useful for normalizing the views of multiple signatures) |
usePercent |
Use percent scales (rather than counts) |
countsAsProportions |
Convert the input data (in counts) to per-signature proportions |
showSampleNames |
display sample names underneath the plot |
orderByMutationCount |
sort the data by descending number of mutations |
facetGroupVariable |
a variable to facet the data on (e.g., an exposure condition). |
a ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.