getRunOtu {ebimetagenomics} | R Documentation |
This function downloads an OTU count data file associated with a particular run from the EMG portal. The OTU data is returned as a data frame.
getRunOtu(runID,verb=FALSE,plot.preston=FALSE)
runID |
A string representing a valid run ID. |
verb |
If true, outputs |
plot.preston |
If true, produces a Preston plot for the taxa abundance distribution of the run. |
An R data frame containing OTU count data. The first column is the OTU ID, the second is the count, and the third contains a taxonomic classification.
getSampleOtu
, mergeOtu
, projectRuns
, convertOtuTad
, plotOtu
, read.otu.tsv
ps=getProjectSummary("SRP047083") samp=projectSamples(ps) runs=runsBySample(ps,samp[2]) getRunOtu(runs[1])