add_cls-methods: Method to add an ExposomeClust to a MultiDataSet

Description Usage Arguments Value Examples

Description

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

Usage

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

1
2
3
4
5
6
data("eclust", package = "rexposome")
library(MultiDataSet)
md <- new("MultiDataSet")
names(md)
md <- add_cls(md, expo_c)
names(md)

isglobal-brge/omicRexposome documentation built on Oct. 20, 2021, 10:09 a.m.