getSmootherPvalues {tradeSeq} | R Documentation

## Get smoother p-value as returned by `mgcv`.

### Description

Return smoother p-values from the `mgcv` package.

### Usage

    getSmootherPvalues(models)

### Arguments

`models` | the GAM models, typically the output from `fitGAM`. Note that this function only works when `models` is a list.

### Value

a matrix with the p-value associated with each lineage's smoother. The matrix has one row per gene where the fitting procedure converged.

### Examples

    data(gamList, package = "tradeSeq")
    getSmootherPvalues(gamList)

[Package tradeSeq version 1.0.1 Index]