I am pretty new to biomaRt, but when I run the following code, I am getting an error.
library(biomaRt)
GOannotations <- getBM(attributes = c("ensembl_gene_id", "peptide", "interpro_description"),
filters = "hgnc_symbol",
values = c("C9orf142"),
mart = useMart(biomart = "ensembl", dataset = "hsapiens_gene_ensembl", verbose = TRUE))
Error in getBM(attributes = c("ensembl_gene_id", "peptide", "interpro_description"), :
The query to the BioMart webservice returned an invalid result: the number of columns in the result table does not equal the number of attributes in the query. Please report this to the mailing list.