This function is used to compute total cell counts, per individual,
from a COMPASSContainer.
Usage
TotalCellCounts(data, subset, aggregate = TRUE)
Arguments
data
A COMPASSContainer.
subset
An expression, evaluated within the metadata, defining
the subset of data over which the counts are computed. If left
unspecified, the counts are computed over all samples.
aggregate
Boolean; if TRUE we sum over the individual,
to get total counts across samples for each individual.