Hi to all,

I am trying to invoke the following R code,

ensembl = useMart("ensembl");
ensembl = useDataset("drerio_gene_ensembl", mart=ensembl);
ids <- getBM(attributes = c("ensembl_gene_id","agilent_g2519F"), filters = "with_agilent_g2519f", values =TRUE,mart=ensembl);

but the result is always the same:

1 Query ERROR: caught BioMart::Exception::Usage: Attribute agilent_g2519F NOT FOUND Error en getBM(attributes = c("ensembl_gene_id", "agilent_g2519F"), filters = c("with_agilent_g2519f"), : Number of columns in the query result doesn't equal number of attributes in query. This is probably an internal error, please report.

However, if I retrieve the list of available attributes I can see "agilent_g2519F" in the list.

Can you help me? There is a mistake in my code or there is something wrong in biomart?

Thanks in advance,
Rubén.

Reply via email to