Usage
fitTimeSeries(obj, formula, feature, class, time, id, method = c("ssanova"), lvl = NULL, include = c("class", "time:class"), C = 0, B = 1000, norm = TRUE, log = TRUE, sl = 1000, ...)
Arguments
obj
metagenomeSeq MRexperiment-class object.
formula
Formula for ssanova.
feature
Name or row of feature of interest.
class
Name of column in phenoData of MRexperiment-class object for class memberhip.
time
Name of column in phenoData of MRexperiment-class object for relative time.
id
Name of column in phenoData of MRexperiment-class object for sample id.
method
Method to estimate time intervals of differentially abundant bacteria (only ssanova method implemented currently).
lvl
Vector or name of column in featureData of MRexperiment-class object for aggregating counts (if not OTU level).
include
Parameters to include in prediction.
C
Value for which difference function has to be larger or smaller than (default 0).
B
Number of permutations to perform
norm
When aggregating counts to normalize or not.