Translate SummarizedExperiment with annotation package
translateSEWithDb(se, db, sourceKey, targetKey, summariseFun)
se | The SummarizedExperiment object that contains the matrix to be translated. |
---|---|
db | Annotation package object to use for the translation. |
sourceKey | Source key in the DB. |
targetKey | Target key in the DB. |
summariseFun | Function used to resolve multi-mapping situations. |
The translated version of the summarized experiment.