Hi, Jeremiah.

The gpldata object is a list and the line that you are using that you say
does work is the correct way to access the data.  I'm not sure what else you
are trying to do.  Could you clarify?

Sean

On Jun 29, 2010 7:44 PM, "Jeremiah H. Savage" <jeremiahsavage@gmail.com>
wrote:

Hello,

I would like to get the Table information out of multiple GPLList objects.

How can I use a string/char variable as a function argument?

In this case the function is GEOquery::Table()

geodata <- parseGEO("GSExxxx.soft")
gpldata <- GPLList(geodata)[1]
gplname <- names(gpldata)  # eg. "GPL96"
gplaccess <- paste(gpldata,gplname,sep="$")

ENTREZ_GENE_ID <- Table(gplaccess)$ENTREZ_GENE_ID
###^^^ the above line does NOT work ,but

ENTREZ_GENE_ID <-Table(gpldata$GPL96)$ENTREZ_GENE_ID
###^^^ the above line DOES work

_______________________________________________
Bioconductor mailing list
Bioconductor@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/bioconductor
Search the archives:
http://news.gmane.org/gmane.science.biology.informatics.conductor

	[[alternative HTML version deleted]]

