rnb.execute.sex.removal

Share:

Description

Removes all sites in sex chromosomes from the given dataset.

Usage

1
rnb.execute.sex.removal(rnb.set)

Arguments

rnb.set

Methylation dataset as an object of type inheriting RnBSet.

Value

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.

Author(s)

Yassen Assenov

Examples

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

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