Description Usage Arguments Details Value Methods (by class) Author(s)
plot_region_stats
1 2 3 4 5 6 7 8 9 10 11 12 | plot_region_stats(object, x.var = "width", wrap = TRUE,
agg.fun = c("sum", "mean"), text.size = 12, which = NULL,
label.outlier = FALSE, label.format = "short", n.se = 5,
label.hjust = 1, label.vjust = 1, level = 0.99, method = "loess",
scales = "free_y", ...)
## S4 method for signature 'GRanges'
plot_region_stats(object, x.var = "width",
wrap = TRUE, agg.fun = c("sum", "mean"), text.size = 12,
which = NULL, label.outlier = FALSE, label.format = "short",
n.se = 5, label.hjust = 1, label.vjust = 1, level = 0.99,
method = "loess", scales = "free_y", ...)
|
object |
object |
x.var |
a name identifying a variable to plot values against |
wrap |
wrap plot |
agg.fun |
aggregation functions |
text.size |
text size |
which |
which plots to include. Choose from population levels and aggregation function |
label.outlier |
label outlier points |
label.format |
use short (default) or long format for window labels |
n.se |
number of standard errors to use as cutoff for identifying outliers, based on confidence interval level |
label.hjust |
horizontal adjustment for labels |
label.vjust |
vertical adjustment for labels |
level |
level of confidence interval to use |
method |
method to use for fitting |
scales |
scales for facet plots |
... |
additional arguments to pass to geom_point() |
Plot region stats
ggplot
GRanges
: Plot statistics versus region for GRanges instance
Per Unneberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.