add_methy {MultiDataSet} | R Documentation

## Method to add a slot of methylation to `MultiDataSet`.

### Description

This method adds or overwrites the slot `"methylation"` of an `MultiDataSet` with the content of the given `MethylationSet` or `RatioSet`. The fData of the input object must contain the columns chromosome and position.

### Usage

    add_methy(object, methySet, ...)

### Arguments

`object` | `MultiDataSet` that will be filled.
`methySet` | `MethylationSet` or `RatioSet` to be used to fill the slot.
`...` | Further arguments to be passed to `add_eset`.

### Value

A new `MultiDataSet` with the slot `"methylation"` filled.

### Examples

    if (require(brgedata)){
     multi <- createMultiDataSet()
     multi <- add_methy(multi, brge_methy[1:100, ])
    }

[Package MultiDataSet version 1.8.0 Index]