% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multi_omics.R
\name{harmonize_ids}
\alias{harmonize_ids}
\title{Harmonize feature IDs to a target space}
\usage{
harmonize_ids(
  x,
  mapping,
  from = "protein",
  to = "gene",
  collapse = c("max_abs", "mean", "min_p")
)
}
\arguments{
\item{x}{A structured result from \code{aggregate_omics()}.}

\item{mapping}{A data.frame with \code{source_id} and \code{target_id} columns.}

\item{from}{Character, source feature type. Default is "protein".}

\item{to}{Character, target feature type. Default is "gene".}

\item{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 \code{omics_aggregated} object.
}
\description{
Map protein-level or other feature-level statistics to a unified gene-level space.
}
