translateMatrixWithDb: Translate matrix rownames using annotation package

Description Usage Arguments Value

View source: R/translate_matrix.R

Description

Uses an annotation package like org.Hs.eg.db or org.Mm.eg.db to translate the rownames of the input matrix using translateMatrix.

Usage

1
translateMatrixWithDb(mat, db, sourceKey, targetKey, summariseFun)

Arguments

mat

Input matrix.

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.

Value

A matrix with translated and summarised ids.


martingarridorc/biokit documentation built on June 28, 2021, 12:24 a.m.