% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/target2np.R
\name{aggregated_target2np}
\alias{aggregated_target2np}
\title{Aggregated Target2NP view across data sources}
\usage{
aggregated_target2np(
  search = NULL,
  target_organism = NULL,
  min_sources = 2L,
  include_predictions = FALSE,
  page = 1L,
  page_size = 20L
)
}
\arguments{
\item{search}{Free-text search query.}

\item{target_organism}{Optional target organism filter.}

\item{min_sources}{Minimum number of source databases supporting the
pair (1-5, default 2).}

\item{include_predictions}{If \code{TRUE}, also count DrugCLIP and SEA
predictions as additional supporting sources.}

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

\item{page_size}{Results per page (default 20, max 50).}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} of aggregated pairs with attribute \code{"total"}.
}
\description{
Return compound-target pairs (keyed by InChIKey + UniProt ID) supported
by interaction records in at least \code{min_sources} source databases.
Optionally extends each pair with DrugCLIP / SEA prediction support.
}
\examples{
\dontrun{
aggregated_target2np(search = "quercetin")
aggregated_target2np(search = "TP53", min_sources = 3,
                     include_predictions = TRUE)
}
}
