counts_matrix: Creates a counts matrix from an agglomerated data frame.

Description Usage Arguments Value

Description

Optionally, metadata columns can be included (useful for some functions), in which case the output is a data.frame, not a matrix.

Usage

1
counts_matrix(agg, additional.columns)

Arguments

agg

agglomerated data frame

additional.columns

any columns to include as columns in the matrix

Value

default: a numeric matrix with otu as rows and samples as columns. If additional columns specified, a data.frame with otus as columns and samples as rows


eclarke/eclectic documentation built on May 15, 2019, 7:54 p.m.