A class for working with count data from a microbial or ecological assay.
Slots
data
A data.frame of integer abundance counts with species as columns and samples as rows
sampleMetadata
A data.frame of metadata about the samples with samples as rows and metadata variables as columns
recordIdColumn
The name of the column containing IDs for the samples. All other columns will be treated as abundance values.
ancestorIdColumns
A character vector of column names representing parent entities of the recordIdColumn.
imputeZero
A logical indicating whether NA/ null values should be replaced with zeros.