Skip to contents

Adds a omics set to an existing MultiDataSet object.

Usage

add_omics_set(mo_data, omics_set, ds_name, ...)

Arguments

mo_data

A MultiDataSet::MultiDataSet object.

omics_set

A Biobase::eSet object, created via create_omics_set(). Currently accepted objects: Biobase::SnpSet, Biobase::ExpressionSet, MetabolomeSet, PhenotypeSet.

ds_name

Character, name of the dataset (will be used as suffix for the name of the dataset in the resulting MultiDataSet object).

...

Further arguments passed to [MultiDataSet::add_snps()], [MultiDataSet::add_rnaseq()], [add_metabo()] or[add_pheno()] (depending on omics_set` class).

Value

A MultiDataSet::MultiDataSet object, the mo_data with omics_set as an additional dataset.

Examples

if (FALSE) { # \dontrun{
add_omics_set(mo_data, omics_set, "exp1")
} # }