run_prop_tests: Run proportional enrichment tests

View source: R/run_prop_tests.R

run_prop_testsR Documentation

Run proportional enrichment tests

Description

Run a series of proportional enrichment tests on the results of a phenotype to cell type association test.

Usage

run_prop_tests(
  results,
  branch_col = "ancestor_name",
  celltype_col = "CellType",
  func = list(rstatix::fisher_test, rstatix::prop_test)[[1]],
  alternative = "greater",
  cores = NULL,
  ...
)

Examples

results <- load_example_results()
results <- HPOExplorer::add_ancestor(results)

neurogenomics/MultiEWCE documentation built on April 17, 2025, 9:27 p.m.