Learn R Programming

metagenomeSeq (version 1.14.0)

ssFit: smoothing-splines anova fit

Description

Sets up a data-frame with the feature abundance, class information, time points, sample ids and returns the fitted values for the fitted model.

Usage

ssFit(formula, abundance, class, time, id, include = c("class", "time:class"), pd, ...)

Arguments

formula
Formula for ssanova.
abundance
Numeric vector of abundances.
class
Class membership (factor of group membership).
time
Time point vector of relative times (same length as abundance).
id
Sample / patient id.
include
Parameters to include in prediction.
pd
Extra variable.
...
Extra parameters for ssanova function (see ?ssanova).

Value

  • data : Inputed data
  • fit : The interpolated / fitted values for timePoints
  • se : The standard error for CI intervals
  • timePoints : The time points interpolated over

See Also

cumNorm fitTimeSeries ssPermAnalysis ssPerm ssIntervalCandidate

Examples

Run this code

# Not run

Run the code above in your browser using DataLab