After you run bootstrap_enrichment_test, check what percentage of significantly enriched cell types match an expected cell type.
check_percent_hits( boot_res, target_celltype, mtc_method = "bonferroni", q_threshold = 0.05, verbose = TRUE )
boot_res |
|
---|---|
target_celltype | Substring to search to matching cell types (case-insensitive). |
mtc_method | Multiple-testing correction method. |
q_threshold | Corrected significance threshold. |
verbose | Print messages. |
Report list.
full_results <- EWCE::example_bootstrap_results() report <- EWCE::check_percent_hits( boot_res = full_results, target_celltype = "microglia" )#>#>