| rnb.execute.context.removal {RnBeads} | R Documentation |
Removes all probes that belong to specific context from the given dataset.
rnb.execute.context.removal(rnb.set,
contexts = rnb.getOption("filtering.context.removal"))
rnb.set |
Methylation dataset as an object of type |
contexts |
Probe contexts to be filtered out. |
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.
Yassen Assenov
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