R/fct_go.R
convert_from_ensembl_ce.Rd
For C. elegans, converts ensembl IDs to entrez IDs, symbol or name
convert_from_ensembl_ce(ids, to = "entrez")
ids | genes to convert, ensembl |
---|---|
to | value in c("entrez", "symbol", "name") |
named vector
if(require("org.Ce.eg.db")){ genes <- c("WBGene00000042", "WBGene00000041") convert_from_ensembl_ce(genes) convert_from_ensembl_ce(genes, to = "symbol") convert_from_ensembl_ce(genes, to = "name") }#>#>#> 176121 #> "Probable aconitate hydratase, mitochondrial" #> 180936 #> "Acetylcholine receptor subunit beta-type acr-2"