R/fct_go.R
convert_from_ensembl_dm.Rd
For D. melanogaster, converts ensembl IDs to entrez IDs, symbol or name
convert_from_ensembl_dm(ids, to = "entrez")
ids | genes to convert, ensembl |
---|---|
to | value in c("entrez", "symbol", "name") |
named vector
if(require("org.Dm.eg.db")){ genes <- c("FBgn0000042", "FBgn0011224") convert_from_ensembl_dm(genes) convert_from_ensembl_dm(genes, to = "symbol") convert_from_ensembl_dm(genes, to = "name") }#>#>#> 31521 48571 #> "Actin 5C" "hephaestus"