getSmootherPvalues: Get smoother p-value as returned by 'mgcv'.

View source: R/getSmootherPvalues.R

getSmootherPvaluesR 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)

statOmics/tradeSeq documentation built on Jan. 19, 2024, 8:26 p.m.