Description Usage Arguments Value See Also Examples
This function takes as input a data frame representing OTU counts, such as returned by getRunOtu
, and tabulates it in the form of a taxa abundance distribution (TAD).
1 | convertOtuTad(otu)
|
otu |
An OTU data frame. |
An R data frame representing a taxa abundance distribution (TAD). The first column is species abundance and the second column represents the number of species with that level of abundance in the sample.
getSampleOtu
, getRunOtu
, mergeOtu
1 2 3 4 5 6 | ps=getProjectSummary("SRP047083")
samp=projectSamples(ps)
runs=runsBySample(ps,samp[2])
otu=getRunOtu(runs[1])
tad=convertOtuTad(otu)
head(tad)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.