% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/omics_contribution.R
\name{classify_omics_pattern}
\alias{classify_omics_pattern}
\title{Classify pathway-level multi-omics patterns}
\usage{
classify_omics_pattern(
  merged_res,
  single_res,
  p_cutoff = 0.05,
  by = "p.adjust"
)
}
\arguments{
\item{merged_res}{An \code{enrichResult} or \code{gseaResult} object from the merged multi-omics analysis.}

\item{single_res}{A named list of \code{enrichResult} or \code{gseaResult} objects from single-omics analyses.}

\item{p_cutoff}{Numeric, the significance cutoff. Default is 0.05.}

\item{by}{Character, the column to use for significance threshold. Default is "p.adjust".}
}
\value{
The \code{merged_res} object with an additional column \code{Omics_Pattern} in its result data.frame.
}
\description{
Compare merged enrichment results with single-omics enrichment results to classify the contribution pattern of each pathway.
}
