A class for working with microbiome or ecological abundance data.
Slots
dataA data.frame of abundance values with species as columns and samples as rows
sampleMetadataA SampleMetadata object of metadata about the samples with samples as rows and metadata variables as columns
recordIdColumnThe name of the column containing IDs for the samples. All other columns will be treated as abundance values.
ancestorIdColumnsA character vector of column names representing parent entities of the recordIdColumn.
imputeZeroA logical indicating whether NA/ null values should be replaced with zeros.
removeEmptyRecordsA logical indicating whether empty (all NA/ zero) samples should be removed.