tidy_pcoa: PCoA on 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_pcoa(x, samples = "SampleID", otus = "variable", value = "RA",
  dist = "bray", keep_loadings = F)

Arguments

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

dist

The distance metric options from vegan's vegdist(). Defaults to bray

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.