plot_region_stats: plot_region_stats

Description Usage Arguments Details Value Methods (by class) Author(s)

Description

plot_region_stats

Usage

 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", ...)

Arguments

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()

Details

Plot region stats

Value

ggplot

Methods (by class)

Author(s)

Per Unneberg


percyfal/nonmodelr documentation built on Sept. 11, 2019, 10:38 a.m.