genericUtilities | R Documentation |
Generic utilities
meltAbundance(x, ...)
transposeAbundance(x, transform = "identity")
x |
|
... |
Arguments other than 'cols' to pass to tidyr pivot_longer function |
transform |
If transformation is required 'transposeAbundance' |
Generic utilities that are simple wrappers for doing common tasks.
meltAbundance
convert abundance data to long format.
transposeAbundance
transpose OTU for use with vegan
pkg.
long data format.
Sudarshan A. Shetty
Shetty SA (2020). Utilities for microbiome analytics. https://github.com/RIVM-IIV-Microbiome/biomeUtils
library(biomeUtils)
data("FuentesIliGutData")
melt.abund <- meltAbundance(FuentesIliGutData,
names_to = "SampleID",
values_to="Abundance")
melt.abund
t.otu <- transposeAbundance(FuentesIliGutData)
dim(t.otu)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.