% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/midas.R
\name{query_disease_enrichment}
\alias{query_disease_enrichment}
\title{Disease enrichment analysis (MIDAS)}
\usage{
query_disease_enrichment(
  gene_list,
  gene_id_type = "symbol",
  sources = NULL,
  min_sources = 1L,
  background_gene_count = 20000L,
  p_value_cutoff = 0.05,
  correction_method = "fdr",
  min_hit_count = 2L,
  page = 1L,
  page_size = 20L
)
}
\arguments{
\item{gene_list}{Character vector of gene identifiers.}

\item{gene_id_type}{ID type: \code{"symbol"} (default), \code{"entrez"}, or
\code{"ensembl"}.}

\item{sources}{Character vector of source databases (or \code{NULL}).}

\item{min_sources}{Minimum supporting sources (default 1).}

\item{background_gene_count}{Background gene count (default 20000).}

\item{p_value_cutoff}{P-value significance cutoff (default 0.05).}

\item{correction_method}{P-value correction: \code{"fdr"} (default),
\code{"bonferroni"}, \code{"holm"}, or \code{"none"}.}

\item{min_hit_count}{Minimum gene hits per disease (default 2).}

\item{page}{Page number (default 1).}

\item{page_size}{Results per page (default 20).}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} of enrichment results with attributes
\code{"total_significant"}, \code{"total_tested"}, and \code{"input_gene_count"}.
}
\description{
Perform Fisher's exact test enrichment analysis to identify diseases
significantly associated with a gene list.
}
\examples{
\dontrun{
query_disease_enrichment(c("TP53", "BRCA1", "EGFR", "VEGFA"))
}
}
