.fitDynamic_def {CellTrails} | R Documentation

## Fitting dynamics

### Description

Fits expression as a function of pseudotime using generalized additive models

### Usage

    .fitDynamic_def(x, y, z, k = 5, n.out = NULL, x.out = NULL)

### Arguments

`x` | Pseudotime values
`y` | Expression values
`z` | Sample states
`k` | Dimensions of the bases used to represent the smooth term
`n.out` | Number of predicted expression values within pseudotime range
`x.out` | Predicted expression values for given set of pseudotime values

### Value

A list containing the following components:

``x`` | Pseudotime
``y`` | Fitted values
``mod`` | GAM

### Author(s)

Daniel C. Ellwanger

[Package CellTrails version 1.12.0 Index]