Hello, I want to convert my ensembl ID into gene symbol using biomart, but it occurred an error so called "could not find function "biomaRt". Could you advise me what am supposed to do? Below there is my command:
h1 = biomaRrt( genes=mygenelist_up6hours,mart="ENSEMBL_MART_ENSEMBL", dataset =
"hsapiens_gene_ensembl",filter = "ensembl_gene_id", attributes
="hgnc_symbol")
Hi, you have a typo in your command, "biomaRrt".
What do you mean a typo in my command?
A double r in "biomaRrt".
But nevermind, the function you are looking for to map ensembl IDs to gene symbols is
getBM
. For example, as done here.Also see this previous question: ENSEMBL Gene ID to Gene Symbol
Why not following what the error is telling you? Maybe to import the library before usage (if it's installed into your machine)?
I have imported the library before usage, but it seems to me that the problem pertains to the function than package.