symbol2entrez: Convert Entrez ID to gene symbols. Note 1: Uses the...

View source: R/load_signatures.R

symbol2entrezR Documentation

Convert Entrez ID to gene symbols. Note 1: Uses the "org.Hs.eg.db" package. Note 2: Deals with missing keys by returning NAs.

Description

Convert Entrez ID to gene symbols. Note 1: Uses the "org.Hs.eg.db" package. Note 2: Deals with missing keys by returning NAs.

Usage

symbol2entrez(geneids)

Arguments

character

vector of gene symbols

Value

character vector of entrez ids

Examples

print(symbol2entrez(c('KRAS', 'NRAS', 'BRAF', 'APC', 'COL3A1', 'AAAAAAA')) == c('3845', '4893', '673', '324', '1281', NA))

aeolianine/CRCsubtyping documentation built on Jan. 13, 2023, 12:16 p.m.