passing character string as an environment arguement
1
0
Entering edit mode
@kimpel-mark-w-727
Last seen 10.3 years ago
I am writing a wrapper function for annotations. I would like to be able to pass the GeneChip identifier to mget as a character string. Attempts to do this via "paste", as below, do not work because envir expects an object, not a character string. Is there a work around for this? mget(x=affyIDVec[i], envir=paste("rat2302", GENENAME, sep=""), mode = "any", ... Mark W. Kimpel MD
• 610 views
ADD COMMENT
0
Entering edit mode
John Zhang ★ 2.9k
@john-zhang-6
Last seen 10.3 years ago
>I am writing a wrapper function for annotations. I would like to be able >to pass the GeneChip identifier to mget as a character string. Attempts >to do this via "paste", as below, do not work because envir expects an >object, not a character string. Is there a work around for this? > >mget(x=affyIDVec[i], envir=paste("rat2302", GENENAME, sep=""), mode = >"any", ... get(paste("rat2302", GENENAME, sep = "")) will return the object. > >Mark W. Kimpel MD > >_______________________________________________ >Bioconductor mailing list >Bioconductor at stat.math.ethz.ch >https://stat.ethz.ch/mailman/listinfo/bioconductor Jianhua Zhang Department of Medical Oncology Dana-Farber Cancer Institute 44 Binney Street Boston, MA 02115-6084
ADD COMMENT

Login before adding your answer.

Traffic: 534 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6