add_cls {omicRexposome} | R Documentation

## Method to add an ExposomeClust to a MultiDataSet

### Description

This method allows to insert an object of class ExposomeClust as an independent dataset into an object of class MultiDataSet.

### Usage

    add_cls(object, clsSet, ...)

    ## S4 method for signature 'MultiDataSet,ExposomeClust'
    add_cls(object, clsSet, ...)

### Arguments

`object` | An object of class MultiDataSet.
`clsSet` | An object of class ExposomeClust.
`...` | Arguments given to add_eset from MultiDataSet.

### Value

A MultiDataSet with the ExpressionSet added as an independent dataset.

### Examples

    data("eclust", package = "rexposome")
    library(MultiDataSet)
    md <- new("MultiDataSet")
    names(md)
    md <- add_cls(md, expo_c)
    names(md)

[Package omicRexposome version 1.9.0 Index]