map_to_entrez_id: Map to Entrez IDs

Description Usage Arguments Details Value Examples

View source: R/functional_enrichment.R

Description

Map to Entrez IDs

Usage

1
map_to_entrez_id(from, org_db = "org.Hs.eg.db")

Arguments

from

The input gene ID type. Valid values should be in, e.g. columns(org.Hs.eg.db::org.Hs.eg.db).

org_db

The annotation database.

Details

If there are multiple mappings from the input ID type to an unique Entrez ID, it randomly picks one.

Value

A named vectors where names are IDs with input ID type and values are the Entrez IDs.

The returned object normally is used in functional_enrichment.

Examples

1
2
map = map_to_entrez_id("ENSEMBL")
head(map)

cola documentation built on Nov. 8, 2020, 8:12 p.m.