mSet: mSet

View source: R/utilites.R

mSetR Documentation

mSet

Description

Function to return 'mSet' class.

Usage

mSet(m, ...)

Arguments

m

data.table, metabolites aundance matrix. if 'rn' column is not contained in this data.table, the 'Features' parameter should be given by character vector.

...

'Samples' or 'Features'. if the 'Samples' not given, the colnames of 'm' data.table will be taken as the Samples names.

Value

a 'mSet' class

Examples

path <- system.file('extdata', 'metabolites_and_genera.rda', package = 'mbOmic')
load(path)
names(metabolites)[1] <- 'rn'
mSet(m = metabolites)

gongcongcong/mbOmic documentation built on July 1, 2023, 1:47 p.m.