Assuming human, use the Homo.sapiens package:

library(Homo.sapiens)
id <- select(Homo.sapiens, "KIT", "ENTREZID", "SYMBOL")$ENTREZID
exons(Homo.sapiens, list(gene_id = id))

It would be a lot nicer if exons() could take the gene symbol directly, but
I've long given up trying to request that.

The nice thing about this approach is that you have a GRanges, and you're
not off in data.frame land.




On Thu, Nov 21, 2013 at 12:14 AM, array chip <arrayprofile@yahoo.com> wrote:

> Hi,
>
>
> Can anyone suggest how to retrieve the genomic coordinates for all exons
> for a given gene by say gene symbol? For example, how to retrieve the
> coordinates for all 21 exons for gene KIT?
>
> Thanks
>
> John
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

