Description Usage Arguments Value Examples
Test a single gene as a function of pseudotime
1 | gene_pseudotime_test(sce, gene, full_model = NULL)
|
sce |
An object of class SCESet |
gene |
Name or index of the gene to be tested. |
full_model |
If a full pseudotime model has already been calculated, use that. Otherwise (if NULL, default), recalculate one on the fly. |
A p-value for the given gene
1 2 3 4 5 | library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
pval <- gene_pseudotime_test(sce, 1) # select first gene
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.