binomial_feature_enrichment: do binomial testing

View source: R/binomial_enrichment.R

binomial_feature_enrichmentR Documentation

do binomial testing

Description

do binomial testing

Usage

binomial_feature_enrichment(
  binomial_features,
  p_expected = 0.5,
  direction = "two.sided",
  p_adjust = "BH",
  conf_level = 0.95,
  min_features = 1
)

Arguments

binomial_features

a binomial_features object

p_expected

the expected probability (default 0.5)

direction

which direction to do the enrichment (two.sided, less, greater)

p_adjust

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

conf_level

the confidence level for the confidence interval (default is 0.95)

min_features

a minimum number of features that are annotated to each annotation

Value

enriched_result


rmflight/categoryCompare2 documentation built on April 25, 2024, 11:19 a.m.