rnb.plot.beta.comparison: rnb.plot.beta.comparison

Description Usage Arguments Value Author(s)

View source: R/plottingUtils.R

Description

Draws plots that compare two distributions of beta values.

Usage

1
2
3
4
5
6
7
rnb.plot.beta.comparison(
  beta.values,
  fprefix,
  report = NULL,
  qq.length = 501L,
  points.per.group = rnb.getOption("distribution.subsample")
)

Arguments

beta.values

Two beta value sequences in the form of a named list of two non-empty vectors of type double. If any of the vectors contains NAs, this method may exit with an error.

fprefix

File name prefix for the plots. This function appends the suffixes "_density", "_histogram" and "_qq" to this prefix.

report

Report to which the plots are to be added.

qq.length

Positive integer value showing the number of quantiles to be calculated and presented in the generated Q-Q plot.

points.per.group

Maximum number of values to use in plotting a group's distribution. Groups that contain more observations than this threshold are subsampled. Setting this parameter to a value less than 2 disables subsampling.

Value

List of all generated plots, each being an object ot type ReportPlot.

Author(s)

Yassen Assenov


RnBeads documentation built on March 3, 2021, 2 a.m.