predictCells: predictCells

Description Usage Arguments Value Examples

Description

Get fitted values for each cell.

Usage

1
2
3
4
5
6
7
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

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

tradeSeq documentation built on Nov. 8, 2020, 7:51 p.m.