% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ingredients.R
\name{get_compound_targets}
\alias{get_compound_targets}
\title{Get predicted targets for a compound}
\usage{
get_compound_targets(
  id,
  method = c("drugclip", "chembl", "both"),
  page = 1L,
  page_size = 20L
)
}
\arguments{
\item{id}{The UniTCM ingredient ID.}

\item{method}{One of \code{"drugclip"}, \code{"chembl"}, or \code{"both"} (default
\code{"drugclip"}).}

\item{page}{Page number (for ChEMBL targets, default 1).}

\item{page_size}{Results per page (for ChEMBL targets, default 20).}
}
\value{
A \code{\link[tibble:tibble]{tibble::tibble()}} of targets. When \code{method = "both"}, a
\code{source} column is added to distinguish results.
}
\description{
Retrieve target predictions from DrugCLIP, ChEMBL similarity search,
or both.
}
\examples{
\dontrun{
get_compound_targets("UNITCM_I00001")
get_compound_targets("UNITCM_I00001", method = "both")
}
}
