[Bioc-devel] mget function in AnnotationDbi package
laurent
lgautier at gmail.com
Tue Aug 26 19:14:04 CEST 2008
On Tue, 2008-08-26 at 10:04 -0700, Li, Xuejun wrote:
> Hi there,
>
> I have a question regarding using "mget" functioni in the Annotation package. I understand that I can use the "mget" function to get the gene symbol. For example,
>
> syms <- unlist(mget(probes, hgu95av2SYMBOL))
>
> What about, if hgu95av2SYMBOL is a string, how can I get the gene symbol? For example,
>
> a <- "hgu95av2SYMBOL"
>
> syms <- unlist(mget(probes, a)) ## this does not work, how to make this line work?
one way to do it:
mget(probes, get(a))
> Thanks very much!!
>
>
>
> Arthur Xuejun Li
>
> Division of Information Science
>
> 1500 East Duarte Road
>
> Duarte, CA 91010 - 3000
>
> Ph: (626) 256-4673 ext. 65121
>
> Fax: (626) 471-7106
>
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
>
> SECURITY/CONFIDENTIALITY WARNING: \ This message an...{{dropped:23}}
>
> _______________________________________________
> Bioc-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
More information about the Bioc-devel
mailing list