tidy_betadisper: Beta dispersion on Tidy Data

Description Usage Arguments Value Examples

Description

This function is a wrapper around Vegan's betadisper function for analyzing dispersion within groups on tidy (long) data.

Usage

1
2
tidy_betadisper(x, samples = "SampleID", otus = "variable", value = "RA",
  dist = "bray", group = NULL)

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

group

A column in the table that identifies the independent variable

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.