rnb.execute.cross.reactive.removal {RnBeads} | R Documentation

## rnb.execute.cross.reactive.removal

### Description

Removes all probes defined as cross-reactive from the given dataset.

### Usage

    rnb.execute.cross.reactive.removal(rnb.set)

### Arguments

`rnb.set` | Methylation dataset as an object of type inheriting `RnBeadSet`.

### Value

`list` of four elements:

`"dataset.before"`

  Copy of `rnb.set`.

`"dataset"`

  The (possibly) modified dataset object after removing probes that have a high likelihood of cross-hybridization.

`"filtered"`

  `integer` vector storing the indices (in beta matrix of the unfiltered dataset) of all removed probes.

### Author(s)

Yassen Assenov

### Examples

    library(RnBeads.hg19)
    data(small.example.object)
    rnb.set.filtered <- rnb.execute.cross.reactive.removal(rnb.set.example)$dataset
    identical(meth(rnb.set.example), meth(rnb.set.filtered)) # FALSE

[Package RnBeads version 2.0.1 Index]