Learn R Programming

MultiDataSet (version 1.0.2)

add_methy: 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.

Usage

add_methy(object, methySet, ...)

Arguments

object
MultiDataSet that will be filled.
methySet
MethylationSet 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

Run this code
if (require(MEALData)){
 multi <- createMultiDataSet()
 betavals <- betavals[1:100, ]  ## To speed up the example, the beta values are reduced
 methy <- prepareMethylationSet(betavals, pheno)
 multi <- add_methy(multi, methy)
}

Run the code above in your browser using DataLab