[BioC] string to function argument

Jeremiah H. Savage jeremiahsavage at gmail.com
Wed Jun 30 20:04:33 CEST 2010


That does work. Thanks.

I also was pointed to a way to do the function call using a string to
represent the entire argument:

gplaccess <- "gpldata$GPL97"
Table(eval(parse(text=gplaccess)))

Jeremiah

On Wed, Jun 30, 2010 at 3:36 AM, Sean Davis <sdavis2 at mail.nih.gov> wrote:
> You can also do gpldata[["GPL96"]].  Is that what you want to do?
>
> Sean
>
> On Jun 29, 2010 10:06 PM, "Jeremiah H. Savage" <jeremiahsavage at gmail.com>
> wrote:
>
> I just found out that I can access the gpldata list object through
> [[1]] instead of $GPL96, so the problem is solved.
>
> On Tue, Jun 29, 2010 at 4:44 PM, Jeremiah H. Savage
> <jeremiahsavage at gmail.com> wrote:
>> Hello,
>>
>> ...



More information about the Bioconductor mailing list