Description Usage Arguments Author(s)
View source: R/amp_rarecurve.R
Calculate rarefaction curve for each sample using the vegan rarecurve function directly from a phyloseq object.
1 |
data |
(required) A phyloseq object. |
step |
Step size for sample sizes in rarefaction curves (default: 100). |
ylim |
vector of y-axis limits. |
xlim |
vector of x-axis limits. |
label |
Label rarefaction curves (default: F). |
color |
Color lines by metadata. |
legend |
Add a legend to the plot if color is used (default: T). |
color.vector |
Vector with colors e.g. c("red","white") (default: NULL). |
legend.position |
Position of the legend (default: "topleft"). |
Mads Albertsen MadsAlbertsen85@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.