occupancy | R Documentation |
Calculate the class occupancies of all features in an AnalysisData
object.
occupancy(d, cls = "class")
## S4 method for signature 'AnalysisData'
occupancy(d, cls = "class")
d |
S4 object of class |
cls |
sample information column to use for which to compute class occupancies |
A tibble containing feature class proportional occupancies.
library(metaboData)
d <- analysisData(abr1$neg[,200:300],abr1$fact)
occupancy(d,cls = 'day')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.