[R] Named arrays

Erhan bilal.erhan at gmail.com
Tue Apr 22 06:09:38 CEST 2008


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... at 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.



More information about the R-help mailing list