I was trying to extract the gene informations from a list of swissprot ID (proteins: Q3T052, F1N3Q7....). Here is the code I used:
proteinID<-dataset$`Accession Number` #extract the protein ID from the dataset
ensemblIDConversion<-getBM(attributes = c('uniprotswissprot','external_gene_name'),
filters = 'with_uniprotswissprot',
values = proteinID,
And here is the error message I received:
Error in FUN(X[[i]], ...) : biomaRt error:
with_uniprotswissprot is a boolean filter and needs a corresponding logical value of TRUE or FALSE to indicate if the query should retrieve all data that fulfill the boolean or alternatively that all data that not fulfill the requirement should be retrieved.
Wondering if anybody help with this boolean filter value setting. Thank you very much !