map_to_entrez_id {cola}R 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, randomly picked 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

## Not run: 
    map_to_entrez_id("ENSEMBL")

## End(Not run)

[Package cola version 1.2.1 Index]