map_to_entrez_id: Map to Entrez IDs

View source: R/functional_enrichment.R

map_to_entrez_idR Documentation

Map to Entrez IDs

Description

Map to Entrez IDs

Usage

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


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


jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.