View source: R/method-preprocess.R
clean_analytes | R Documentation |
Remove unqualified metabolites and OTU which only measured in few samples.
clean_analytes(object, fea_num = 2)
object |
a 'bSet' or 'mSet' class |
fea_num, |
integer, Removal of features only measured in 'fea_num' of samples |
return a quantified 'bSet' or 'mSet' object
library(data.table) path <- system.file('extdata', 'metabolites_and_genera.rda', package = 'mbOmic') load(path) names(genera)[1] <- 'rn' names(metabolites)[1] <- 'rn' b <- bSet(b = genera) m <- mSet(m = metabolites) clean_analytes(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.