Re: [R] Named arrays

From: Erhan <bilal.erhan_at_gmail.com>
Date: Mon, 21 Apr 2008 21:09:38 -0700 (PDT)

I am using Bioconductor to pull chromosomal locations for affymetrix probe ids.

library("annotate")
z <- buildChromLocation("hgu95av2")
vec <- chromLocs(z)[["Y"]]
vec["266_s_at"]
 266_s_at
-19611913

Array vec is index by the ids and contain the respective locations. I would like to write to a file the complete list of probe id to chromosome mapping,
something like this:

23456_at 1230908
23434_at 38798889
..........

Erhan

On Apr 21, 10:34 pm, "Erin Hodgess" <erinm.hodg..._at_gmail.com> wrote:
> Could you send an example please?
>
> Thanks,
> Erin
>
> On Mon, Apr 21, 2008 at 8:47 PM, Erhan <bilal.er..._at_gmail.com> wrote:
> > Hi! I need to access all the strings used as indexes in an array.
> > Can someone tell me how to do that?
> > I'm not sure this is the right place to ask, but I couldn't find
> > another group.
>
> > Thanks,
> > Erhan
>
> > ______________________________________________
> > R-h..._at_r-project.org mailing list
> >https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodg..._at_gmail.com
>
> ______________________________________________
> R-h...@r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 22 Apr 2008 - 04:37:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Apr 2008 - 05:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive