[BioC] how to retrieve data in list using getBM in biomaRt package?

Steffen Durinck durincks at mail.nih.gov
Thu Aug 10 20:34:43 CEST 2006


Hi Shiliang,

It looks like you forgot to specify the output argument as a list.
Try:

genelistM <- getBM(attributes = c("entrezgene","go","uniprot_swissprot_accession", "refseq_dna"), filters =
"entrezgene",values = ll, mart = mart, na.value ="&nbsp;", output="list")

best,
Steffen

swang wrote:
> Hi,Dr. Durinck:
>
>
> I do need to get a list back from getBM function in biomaRt package, I read
> your feedback about getBM when the probe is long.
> http://article.gmane.org/gmane.science.biology.informatics.conductor/9172/match=biomart+rmysql+mode
> but can you tell me how to get a list back using bomaRt RMySQL mode?
> I have a 250 length entrezgene id and try to get back
> genelistM <- getBM(attributes =
> c("entrezgene","go","uniprot_swissprot_accession", "refseq_dna"), filters =
> "entrezgene",
> values = ll, mart = mart, na.value =
> "&nbsp;")
>
> length(ll)
> 250
> ll <- getLL(probe,data = "Rosetta")
>
> I cannot get back in list, otherwise it will tell me wrong.
>
> Thanks
>
> Shiliang
>
> 	[[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>



More information about the Bioconductor mailing list