Takes a vector of KEGG ids and picks out SYMBOL or ENSEMBL translations, with matching to a gene database possible to maximize cross-referencing.

TranslateKEGGIdentifiers(keggid, geneDB = NULL, identifier = "SYMBOL")

Arguments

keggid

character vector of KEGG ids

geneDB

data.frame consisting of at minimum, your chosen identifier (SYMBOL by default); this could be the first two columns of output from TranslateENSEMBL, which translates a DESeq2 dds object into SYMBOL and ENSEMBL

identifier

the chosen identifier to use; currently only supports SYMBOL and ENSEMBL usage [default: SYMBOL]

Value

a translated character vector

Examples

res <- TranslateENSEMBL(results(dds))
kid <- "mmu:72141"
TranslateKEGGIdentifiers(kid, geneDB = res$SYMBOL, identifier = "SYMBOL")
TranslateKEGGIdentifiers(kid, geneDB = res[, 1:2], identifier = "ENSEMBL")