View source: R/summarise_results.R
summarise_results | R Documentation |
Summarise results from MSTExplorer.
summarise_results(
results,
group_var = "ctd",
add_merged = TRUE,
phenotype_to_genes = HPOExplorer::load_phenotype_to_genes(),
digits = 3,
save_path = tempfile("summarise_results.csv")
)
results |
The cell type-phenotype enrichment results generated by gen_results and merged together with merge_results |
group_var |
Variable to segregate results by. |
add_merged |
Add a merged summary across all groups. |
phenotype_to_genes |
Output of load_phenotype_to_genes mapping phenotypes to gene annotations. |
digits |
a positive integer indicating how many significant digits
are to be used for
numeric and complex |
save_path |
Path to save the summary to as a CSV. |
results <- load_example_results()
summary_split <- summarise_results(results, group_var="ctd")
summary_merged <- summarise_results(results, group_var=NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.