ssFit: smoothing-splines anova fit

Description Usage Arguments Value See Also Examples

View source: R/fitTimeSeries.R

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
 3
 4
 5
 6
 7
 8
 9
10
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:

See Also

cumNorm fitTimeSeries ssPermAnalysis ssPerm ssIntervalCandidate

Examples

1
# Not run

metagenomeSeq documentation built on Nov. 8, 2020, 5:34 p.m.