compare_populations: compare_populations

Description Usage Arguments

View source: R/compare_trajectories.R

Description

Compare different populations along the same pseudotime trajectory

Usage

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)

Arguments

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


alex-wenzel/ChromaSC-R documentation built on Nov. 1, 2019, 9:09 p.m.