View source: R/compare_trajectories.R
Compare different populations along the same pseudotime trajectory
1 2 3 | compare_populations(pops1.pt, pops2.pt, escores, gene_set_name,
region.start = NA, region.end = NA, window.size = NA,
step.size = NA)
|
pops1.pt |
A named vector of pseudotime values forming the first group to test |
pops2.pt |
A named vector of pseudotime values forming the second group to test |
escores |
The gene set by cell matrix of enrichment z-scores produced by 'run_enrichment()' |
gene_set_name |
The name of the gene set to test |
region.start |
Optional - start of pseudotime region to compare (the smallest pseudotime value) |
region.end |
Optional - end of pseudotime region to compare (the largest pseudotime value) |
window.size |
Optional - if region.start==region.end==NA, then test consecutive windows of this size and report statistics and corrected pvalues |
step.size |
Optional - If scanning for significance, fraction of pseudotime to move the window on each test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.