% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/midas.R
\name{query_source_comparison}
\alias{query_source_comparison}
\title{Compare gene-disease sources (MIDAS)}
\usage{
query_source_comparison(
  gene_list,
  sources = NULL,
  mode = c("union", "intersection")
)
}
\arguments{
\item{gene_list}{Character vector of gene identifiers.}

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

\item{mode}{Comparison mode: \code{"union"} (default) or \code{"intersection"}.}
}
\value{
A named list with elements: \verb{$mode}, \verb{$sources}, \verb{$sets}
(named list of gene vectors), \verb{$intersections}, \verb{$exclusives},
\verb{$genes_used}.
}
\description{
Compare how different evidence sources cover a gene list, producing
Venn-diagram-ready set data.
}
\examples{
\dontrun{
query_source_comparison(c("TP53", "BRCA1"), mode = "union")
}
}
