Tests whether a set of muscles is enriched for specific annotations (actions, innervation, body regions) compared to the full set.
Usage
kgEnrichment(
muscles,
annotation_type = c("action", "nerve", "body_region", "spinal_level"),
hub = NULL
)Examples
kgEnrichment(
c("Trapezius", "Latissimus Dorsi", "Serratus Posterior Superior"),
annotation_type = "body_region"
)
#> term count total_in_background expected fold_enrichment p_value
#> 1 trunk 3 47 0.5222222 5.744681 0.004998243