wide_distance: Convert long data to wide distance

Description Usage Arguments Value Examples

Description

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

Usage

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

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

S3 adonis object

Examples

1

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