features: features

View source: R/utilites.R

featuresR Documentation

features

Description

'features' get or set features names vector.

'features' get or set features names vector.

Usage

features(object)
features(object) <- value

features(object)
features(object) <- value

Arguments

object

a 'Set' object

value

character vector

Value

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

'features' return a character vector or update the features 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.