Can somebody help me in converting Gene name to Entrez in R. For example
Gene name: ANKRD62P1-PARP4P3
has entrez: 23783
like this page:
http://www.genecards.org/cgi-bin/carddisp.pl?gene=ANKRD62P1-PARP4P3&keywords=ANKRD62P1-PARP4P3
I tried biomaRt but it didn't have the gene (return to NA)!
I tried this:
ensembl=useDataset("hsapiens_gene_ensembl",mart = useMart("ensembl"))
data = "ANKRD62P1-PARP4P3"
ans <- unique(getBM(attributes = c("hgnc_symbol", "entrezgene"),
filters = "hgnc_symbol",
values = data,
mart = ensembl) )
Your help is really appreciated!
In what way did BioMart not help?