get_omics_contribution: Get gene-level omics contribution for a specific pathway

View source: R/omics_contribution.R

get_omics_contributionR Documentation

Get gene-level omics contribution for a specific pathway

Description

Extract the original multi-omics statistics for genes in a specific enriched pathway.

Usage

get_omics_contribution(res, agg, pathway_id = NULL)

Arguments

res

An enrichResult or gseaResult object.

agg

An omics_aggregated object from aggregate_omics().

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.


enrichit documentation built on Oct. 28, 2026, 9:07 a.m.