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

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

Arguments

formula

Formula for ssanova. Of the form: abundance ~ ... where ... includes any pData slot value.

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

A list containing:

  • 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

1
# Not run

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.