amp_rarecurve: Calculate rarefaction curve for each sample.

Description Usage Arguments Author(s)

View source: R/amp_rarecurve.R

Description

Calculate rarefaction curve for each sample using the vegan rarecurve function directly from a phyloseq object.

Usage

1

Arguments

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").

Author(s)

Mads Albertsen MadsAlbertsen85@gmail.com


MadsAlbertsen/ampvis documentation built on May 7, 2019, 2:08 p.m.