Entering edit mode
3 days ago
sgupt46
•
0
Hi, I am trying to use biomart to get uniprot IDs, but I only get a partial list.
library(biomaRt)
ensembl <- useEnsembl(biomart = "genes", dataset = "hsapiens_gene_ensembl")
protein_names <- biomaRt::getBM(attributes = c("uniprotswissprot"), mart = ensembl)
any(protein_names$uniprotswissprot == 'O60397')
FALSE
However, when I look at the Uniprot website, I do see this ID https://www.uniprot.org/uniprotkb/O60397 I am wondering why do I not get these IDs from BioMart?