[BioC] Agilent IDs and biomaRt package

Gonzalo Gómez ggomez at cnio.es
Fri Apr 11 17:06:09 CEST 2008


Hi all! I am trying to make a simple query for Agilent IDs in ensembl 
using biomaRt package. The code seems to be simple and vignettes are 
clear, however it fails...Im not sure if this could be a bug in biomaRt 
or in my code

#My code is :

 >library(biomaRt)
 >ensembl = useMart("ensembl", dataset = "mmusculus_gene_ensembl")
 >AgiIDs<-c("A_51_P227502" "A_52_P330395" "A_51_P183051")

#I´ve tried:

 >Agilent<-getGene(AgiIDs, type = agilentprobe, mart=ensembl)
Error in inherits(x, "factor") : object "agilentprobe" not found

#and:

 >getBM(attributes = c("chromosome_name", "start_position"), 
filters=agilent-probe-2, values = AgiIDs, mart = ensembl)
Error in inherits(x, "factor") : object "agilent" not found

I´ve used listFilters(ensembl) in order to find the correct filters and 
type parametres and I also have used: agilent_probe but it doesn´t work 
anymore...

 >Agilent<-getGene(AgiIDs, type = agilent_probe, mart=ensembl)
Error in inherits(x, "factor") : object "agilent_probe" not found
 >getBM(attributes = c("chromosome_name", "start_position"), 
filters=agilent_probe, values = AgiIDs, mart = ensembl)
Error in inherits(x, "factor") : object "agilent_probe" not found


Please, I´ll be very thankful if anybody can help me with this...


Thanks

Gonzalo


**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y ...{{dropped:3}}



More information about the Bioconductor mailing list