harmonize_ids: Harmonize feature IDs to a target space

View source: R/multi_omics.R

harmonize_idsR Documentation

Harmonize feature IDs to a target space

Description

Map protein-level or other feature-level statistics to a unified gene-level space.

Usage

harmonize_ids(
  x,
  mapping,
  from = "protein",
  to = "gene",
  collapse = c("max_abs", "mean", "min_p")
)

Arguments

x

A structured result from aggregate_omics().

mapping

A data.frame with source_id and target_id columns.

from

Character, source feature type. Default is "protein".

to

Character, target feature type. Default is "gene".

collapse

Character, method to collapse multiple source IDs mapped to a single target ID. One of "max_abs", "mean", or "min_p".

Value

A harmonized omics_aggregated object.


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