rnb.execute.low.coverage.masking: rnb.execute.low.coverage.masking

Description Usage Arguments Value Author(s)

Description

Replaces all low coverage sites by NA.

Usage

1
2
rnb.execute.low.coverage.masking(rnb.set,
  covg.threshold = rnb.getOption("filtering.coverage.threshold"))

Arguments

rnb.set

Methylation dataset as an object of type inheriting RnBSet.

covg.threshold

Threshold for minimal acceptable coverage, given as a non-negative integer value. All methylation measurements with lower coverage than this threshold are set to NA. If this parameter is 0, calling this method has no effect.

Value

List of three elements:

"dataset.before"

Copy of rnb.set.

"dataset"

The (possibly) modified dataset after retaining sites on autosomes only.

"mask"

A logical matrix of dimension meth(rnb.set,type="sites") indicating which methylation values have been masked

Author(s)

Fabian Mueller



Search within the RnBeads package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.