% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/omics_contribution.R
\name{get_omics_contribution}
\alias{get_omics_contribution}
\title{Get gene-level omics contribution for a specific pathway}
\usage{
get_omics_contribution(res, agg, pathway_id = NULL)
}
\arguments{
\item{res}{An \code{enrichResult} or \code{gseaResult} object.}

\item{agg}{An \code{omics_aggregated} object from \code{aggregate_omics()}.}

\item{pathway_id}{Character, the ID of the pathway to extract. If NULL, the top pathway is used.}
}
\value{
A data.frame containing the genes, their original omics statistics, the aggregated score, and whether they belong to the core enrichment.
}
\description{
Extract the original multi-omics statistics for genes in a specific enriched pathway.
}
