R/fct_go.R
convert_from_ensembl_mus.Rd
For M. musculus, converts ensembl IDs to entrez IDs, symbol or name
convert_from_ensembl_mus(ids, to = "entrez")
ids | genes to convert, ensembl |
---|---|
to | value in c("entrez", "symbol", "name") |
named vector
if(require("org.Mm.eg.db")){ genes <- c("ENSMUSG00000000001", "ENSMUSG00000000049") convert_from_ensembl_mus(genes) convert_from_ensembl_mus(genes, to = "symbol") convert_from_ensembl_mus(genes, to = "name") }#>#>#> 11818 #> "apolipoprotein H" #> 14679 #> "guanine nucleotide binding protein (G protein), alpha inhibiting 3"