View source: R/plotting_mutation_patterns.R
plot_mutations_in_flanked_sites | R Documentation |
Barplot of mutations along relative positions to site midpoints
plot_mutations_in_flanked_sites( dfr, window_size = 100, what_plot = "mut_freq", y_range = NULL )
dfr |
Data frame of mutation counts at relative positions along stacked sites/flanks (from get_mutations_in_flanked_sites)
|
window_size |
Integer indicating the half-width of sites and flanking regions (added to both sides of midpoint) |
what_plot |
Character indicating y-axis variable (default "mut_freq") |
y_range |
Numeric y-axis limits (default NULL) |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.