Description Usage Arguments Value Examples
This function assesses differential expression between the average expression of the start and end points of a lineage.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | startVsEndTest(models, ...)
## S4 method for signature 'SingleCellExperiment'
startVsEndTest(
models,
global = TRUE,
lineages = FALSE,
pseudotimeValues = NULL,
l2fc = 0
)
## S4 method for signature 'list'
startVsEndTest(
models,
global = TRUE,
lineages = FALSE,
pseudotimeValues = NULL,
l2fc = 0
)
|
models |
The fitted GAMs, typically the output from
|
... |
parameters including: |
global |
If TRUE, test for all lineages simultaneously. |
lineages |
If TRUE, test for all lineages independently. |
pseudotimeValues |
A vector of length 2, specifying two pseudotime values to be compared against each other, for every lineage of the trajectory. @details Note that this test assumes that all lineages start at a pseudotime value of zero, which is the starting point against which the end point is compared. |
l2fc |
The log2 fold change threshold to test against. Note, that this will affect both the global test and the pairwise comparisons. |
A matrix with the wald statistic, the number of df and the p-value associated with each gene for all the tests performed. Also, for each possible pairwise comparision, the observed log fold changes. If the testing procedure was unsuccessful, the procedure will return NA test statistics, fold changes and p-values.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.