hypergeometric_feature_enrichment: do hypergeometric enrichment

View source: R/hypergeometric_enrichment.R

hypergeometric_feature_enrichmentR Documentation

do hypergeometric enrichment

Description

do hypergeometric enrichment

Usage

hypergeometric_feature_enrichment(
  hypergeom_features,
  direction = "over",
  p_adjust = "BH",
  min_features = 1
)

Arguments

hypergeom_features

a hypergeometric_features object

direction

which direction to do the enrichment (over or under)

p_adjust

how to correct the p-values (default is "BH")

min_features

how many features should be annotated before testing it?

Details

The min_features argument here applies to the minumum number of features an annotation has from the universe of features supplied, not the minumum number of features from the differential list. For more about the p-value adjustment, see stats::p.adjust

Value

enriched_result


MoseleyBioinformaticsLab/categoryCompare2 documentation built on Nov. 3, 2024, 11:06 a.m.