predictCells {tradeSeq} | R Documentation

## predictCells

### Description

Get fitted values for each cell.

### Usage

    predictCells(models, ...)

    ## S4 method for signature 'SingleCellExperiment'
    predictCells(models, gene)

    ## S4 method for signature 'list'
    predictCells(models, gene)

### Arguments

`models` | Either the `SingleCellExperiment` object obtained after running `fitGAM`, or the specific GAM model for the corresponding gene, if working with the list output of `tradeSeq`.
`...` | parameters including:
`gene` | Gene name of gene for which to extract fitted values.

### Value

A vector of fitted values.

### Examples

    data(gamList, package = "tradeSeq")
    predictCells(models = gamList, gene = 1)

[Package tradeSeq version 1.3.13 Index]