Translates the first assay of a SummarizedExperiment.

translateSE(se, df, sourceKey, targetKey, summariseFun)

Arguments

se

The SummarizedExperiment object that contains the matrix to be translated.

df

A 2-columns translator data frame with source to target ids.

sourceKey

Character indicating the column of the df where the source ids are stored.

targetKey

Character indicating the column of the df where the source ids are stored.

summariseFun

Function used to resolve multi-mapping situations.

Value

The translated version of the summarized experiment.