bSet: bSet

View source: R/utilites.R

bSetR Documentation

bSet

Description

Function to return 'bSet' class.

Usage

bSet(b, ...)

Arguments

b

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 'b' data.table will be taken as the Samples names.

Value

a 'bSet' class

Examples

path <- system.file('extdata', 'metabolites_and_genera.rda', package = 'mbOmic')
load(path)
names(genera)[1] <- 'rn'
bSet(b = genera)

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