[BioC] simple biomaRt query

Heidi Dvinge heidi at ebi.ac.uk
Thu Oct 4 13:02:19 CEST 2007


Hi Galina,

where did you get the IDs from? I tried looking them up on Ensembl, but
neither produced any matches. Are you sure they're correct Ensembl gene
IDs?

Best
\Heidi

> Dear list,
>
>
>
> I am trying to do very simple query using BiomaRt:
>
> library(biomaRt)
>
> ensembl=useMart('ensembl')
>
> ensembl= useDataset('hsapiens_gene_ensembl',mart=ensembl)
>
> ..
>
>> ids<-c("ENSG000000282326","ENSG000000008311","ENSG000000323881")
>
>> hsdef <-
> getBM(attributes=c("ensembl_gene_id","ensembl_transcript_id","hgnc_symbo
> l"),filters="ensembl_gene_id",values=ids, mart=ensembl)
>
>> hsdef
>
> NULL
>
>>
>
> Please let me know, am I doing something wrong?
>
>
>
> Best regards
>
> Galina
>
> PS
>
>> sessionInfo()
>
> R version 2.5.1 (2007-06-27)
>
> i386-pc-mingw32
>
>
>
>
> 	[[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