relabundance {mia} | R Documentation |
relabundance
is a getter/setter for relative abundance stored in the
assay slot ‘relabundance’ of a
TreeSummarizedExperiment
object. This is a shortcut function for assay(x,"relabundance")
.
relabundance(x, ...) relabundance(x) <- value ## S4 method for signature 'SummarizedExperiment' relabundance(x) ## S4 replacement method for signature 'SummarizedExperiment' relabundance(x) <- value
x |
a
|
... |
optional arguments not used currently. |
value |
a |
For relabundance
the matrix stored with the name
“relabundance”.
data(GlobalPatterns) # Calculates relative abundances GlobalPatterns <- relAbundanceCounts(GlobalPatterns) # Fetches calculated relative abundances head(relabundance(GlobalPatterns))