associationTest {tradeSeq} | R Documentation |
Assess whether gene expression is associated with pseudotime.
associationTest(models, ...) ## S4 method for signature 'SingleCellExperiment' associationTest(models, global = TRUE, lineages = FALSE) ## S4 method for signature 'list' associationTest(models, global = TRUE, lineages = FALSE)
models |
the list of GAMs, typically the output from
|
... |
parameters including: |
global |
If TRUE, test for all lineages simultaneously. |
lineages |
If TRUE, test for all lineages independently. |
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.
data(gamList, package = "tradeSeq") associationTest(gamList, global = TRUE, lineages = TRUE)