add_exp-methods: Method to add an ExposomeSet to a MultiDataSet

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
5
add_exp(object, expoSet, warnings = TRUE, ...)

## S4 method for signature 'MultiDataSet,ExposomeSet'
add_exp(object, expoSet, warnings = TRUE,
  ...)

Arguments

object

An object of class MultiDataSet.

expoSet

An object of class ExposomeSet.

warnings

(default TRUE) If set to FALSE warnings will not be displayed.

...

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("exposome", package = "rexposome")
library(MultiDataSet)
md <- new("MultiDataSet")
names(md)
md <- add_exp(md, expo)
names(md)

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