getGeneAnnotMap: getGeneAnnotMap

View source: R/txdb.R

getGeneAnnotMapR Documentation

getGeneAnnotMap

Description

Get a mapping (e.g. of identifiers) and automatically select the correct AnnotationDbi database for a given assembly

Usage

getGeneAnnotMap(assembly, from = "ENSEMBL", to = "SYMBOL", multiMap = "paste")

Arguments

assembly

character string specifying the assembly

from

the column name that will be used as the key for the resulting map

to

the column name that will be used as the result for the resulting map

multiMap

character string specifying what to do if multiple mappings are found for a key by default (multiMap="paste") the results will be pasted into a single character string (separated by ';'). Other options include 'first' for just returning the first value or 'list' for returning a list of all values

Value

a named vector (or list depending on how the multiMap argument is chosen) providing a mapping

Author(s)

Fabian Mueller


demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.