View source: R/test_target_celltypes.R
test_target_celltypes | R Documentation |
Test the following hypotheses across gen_results enrichment results.
test_target_celltypes(
results = load_example_results(),
target_celltypes = get_target_celltypes(),
celltype_col = "cl_id",
tests = c("within_branches", "across_branches", "across_branches_per_celltype"),
method = c("glm", "anova"),
within_var = "hpo_id",
ancestor_var = "ancestor_name",
q_threshold = 0.05,
cores = 1
)
results |
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results |
target_celltypes |
A named list of HPO branches and matched CL ids. |
celltype_col |
Name of the cell type column in the |
tests |
The types of tests to conduct.
|
method |
Methods to run stats with. |
within_var |
Within-subject variable. |
ancestor_var |
The name of the |
q_threshold |
The q value threshold to subset the |
cores |
The number of cores to run in parallel (e.g. 8) |
res <- test_target_celltypes(tests="within_branches")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.