tidy_rarefy: Rarefy Long Data

Description Usage Arguments Value Examples

Description

This function is a wrapper around Vegan's capscale function for performing PCoA on tidy (long) data.

Usage

1
2
tidy_rarefy(x, rare_depth = NULL, samples = "SampleID", otus = "variable",
  value = "value")

Arguments

rare_depth

The sampling depth for rarefaction. Defaults to the minimum sample depth if no value is provided

samples

The column header for your sample identifiers. Defaults to SampleID

otus

The column header for your OTU identifiers. Defaults to variable

value

The column header for the OTU abundances. Defaults to RA

Value

A list containing the axes, the eigenvalues, and loadings (optional)

Examples

1

bulksoil/tidyMB documentation built on May 29, 2019, 2:27 p.m.