as_abundances_matrix: Convert abundances tidy data frame to matrix.

as_abundances_matrixR Documentation

Convert abundances tidy data frame to matrix.

Description

as_abundances_matrix returns a numerical matrix given a tidy abundances data frame.

Usage

as_abundances_matrix(abundances, value = abundance)

Arguments

abundances

The abundance tidy data frame that will be converted.

value

Name of colum containing the abundance data. Default is "abundance".

Details

This function will convert a abundances tidy data frame into a numerlical abundance matrix. To convert a numerical abundance matrix into a abundances tidy data frame use as_abundances_matrix.


SWittouck/tidyamplicons documentation built on Aug. 15, 2023, 3:14 a.m.