rnb.plot.beta.comparison {RnBeads} | R Documentation

## rnb.plot.beta.comparison

### Description

Draws plots that compare two distributions of beta values.

### Usage

    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 `NA`s, 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

[Package RnBeads version 2.0.1 Index]