Description Usage Arguments Details Value Examples
Plot SNV impact distributions for a binary SNV profile comparison.
1 2 3 |
comparison |
The SNV profile comparison to be plotted. |
legend |
Show the legend (boolean). |
annotate |
Annotate each category (boolean). |
annotate_size |
Text size for annotations (numeric). |
text_size |
Text size for axes, ticks and legend (numeric). |
palette |
Colour palette for filling of bars (character vector). |
This function creates publication-ready plots of the impact distribution from a binary dataset comparison across the matched/mismatched SNVs.
A ggplot2 graphical object.
1 2 3 4 5 | # Load test comparison data
data(test_comparison)
# Plot the impact distribution
impacts <- plot_impacts(test_comparison)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.