quick question
1
0
Entering edit mode
Zhao, Po ▴ 90
@zhao-po-195
Last seen 9.7 years ago
Dear Sir, We are trying to do some automation. Is there any way that can run the following 4 steps in one command? Or I have to develop some R code myself to do this? R> library(affy) R> Data <- ReadAffy( ) R> eset <- rma(Data) R> write.exprs(eset, file="mydata.txt") Thanks a lot for your help. Po
• 748 views
ADD COMMENT
0
Entering edit mode
Jeff Gentry ★ 3.9k
@jeff-gentry-12
Last seen 9.7 years ago
> R> library(affy) > R> Data <- ReadAffy( ) > R> eset <- rma(Data) > R> write.exprs(eset, file="mydata.txt") You could call it all in one line: library(affy);data <- ReadAffy() ... Or you could put it in a function: foo <- function() { library(affy) Data <- readAffy() ... } -J
ADD COMMENT
0
Entering edit mode
Jeff Gentry <jgentry@jimmy.harvard.edu> [Wed, Mar 05, 2003 at 03:13:08PM CET]: [...] > > Or you could put it in a function: > foo <- function() { > library(affy) > Data <- readAffy() > ... > } > ... and then call the function: foo() -- Johannes H?sing There is something fascinating about science. One gets hannes@ruhrau.de such wholesale returns of conjecture from such a trifling investment of fact. Mark Twain
ADD REPLY

Login before adding your answer.

Traffic: 348 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