samples: samples

View source: R/utilites.R

samplesR Documentation

samples

Description

'samples' get or set samples names vector.

'samples' get or set samples names vector.

Usage

samples(object)
samples(object) <- value

samples(object)
samples(object) <- value

Arguments

object

a 'Set' object

value

character vector

Value

'samples' return a character vector or update the samples names

'samples' return a character vector or update the samples names

Examples

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

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