getSmootherTestStats: Get smoother Chi-squared test statistics.

View source: R/getSmootherTestStats.R

getSmootherTestStatsR Documentation

Get smoother Chi-squared test statistics.

Description

Return test statistics from the mgcv package.

Usage

getSmootherTestStats(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 wald statistics 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.