rnb.execute.context.removal

Description

Removes all probes that belong to specific context from the given dataset.

Usage

1
2
rnb.execute.context.removal(rnb.set,
  contexts = rnb.getOption("filtering.context.removal"))

Arguments

rnb.set

Methylation dataset as an object of type RnBeadSet.

contexts

Probe contexts to be filtered out.

Value

List of three or four elements:

"dataset.before"

Copy of rnb.set.

"dataset"

The (possibly modified) RnBeadSet object after performing the missing value removal.

"filtered"

integer vector storing the indices of all removed probes in dataset.before.

"contexts"

The value of the parameter contexts.

Author(s)

Yassen Assenov

Examples

1
2
3
4
5
library(RnBeads.hg19)
data(small.example.object)
contexts.to.ignore <- c("CC", "CAG", "CAH")
rnb.set.filtered <- rnb.execute.context.removal(rnb.set.example, contexts.to.ignore)$dataset
identical(rnb.set.example, rnb.set.filtered) # FALSE

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.