rarefaction_curves | R Documentation |
Computes rarefaction curves for a phyloseq object.
rarefaction_curves(phyloseq.object, step = 100, plot = TRUE)
midiv.object |
A midiv object. You may supply either this or a phyloseq object. |
phyloseq.object |
A phyloseq object. You may supply either this or a midiv object. |
step |
The step-size used to choose different down-sampling levels (readcounts). |
plot |
Logical, plotting the curves or return the table for later plotting. |
This function takes as input either a midiv object or a phyloseq object,
and uses the function rarecurve
in the vegan
package for
the computations.
If plot = TRUE
a ggplot
object, if plot = FALSE
the table with the data for plotting the curves. The latter is useful if you want
a different display of the curves
Lars Snipen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.