rnb.execute.context.removal: rnb.execute.context.removal

Description Usage Arguments Value Author(s) Examples

View source: R/filtering.R

Description

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

Usage

1
2
3
4
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

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