rnb.execute.sex.removal {RnBeads} | R Documentation |
Removes all sites in sex chromosomes from the given dataset.
rnb.execute.sex.removal(rnb.set)
rnb.set |
Methylation dataset as an object of type inheriting |
List of three elements:
"dataset.before"
Copy of rnb.set
.
"dataset"
The (possibly) modified dataset after retaining sites on autosomes only.
"filtered"
integer
vector storing the indices (in beta matrix of the unfiltered
dataset) of all removed probes.
Yassen Assenov
library(RnBeads.hg19) data(small.example.object) rnb.set.filtered <- rnb.execute.sex.removal(rnb.set.example)$dataset identical(meth(rnb.set.example), meth(rnb.set.filtered)) # FALSE