associationTest {tradeSeq}R Documentation

Perform statistical test to check whether gene expression is constant across pseudotime within a lineage

Description

Assess whether gene expression is associated with pseudotime.

Usage

associationTest(models, ...)

## S4 method for signature 'SingleCellExperiment'
associationTest(models, global = TRUE,
  lineages = FALSE)

## S4 method for signature 'list'
associationTest(models, global = TRUE,
  lineages = FALSE)

Arguments

models

the list of GAMs, typically the output from fitGAM.

...

parameters including:

global

If TRUE, test for all lineages simultaneously.

lineages

If TRUE, test for all lineages independently.

Value

A matrix with the wald statistic, the number of df and the p-value associated with each gene for all the tests performed. If the testing procedure was unsuccessful, the procedure will return NA test statistics and p-values.

Examples

data(gamList, package = "tradeSeq")
associationTest(gamList, global = TRUE, lineages = TRUE)

[Package tradeSeq version 1.0.1 Index]