Limma:What's wrong with my Targets file?
1
0
Entering edit mode
xpzhang ▴ 90
@xpzhang-780
Last seen 9.6 years ago
Hell everyone! I am trying to do single-channel normalization for my serverl slides using limma. After I read the userguide of limma, I made a Targets file.It is just like: SlideNumber FileName Cy3 Cy5 1 2004-4-2-cy3(450)-0409-Con-only532.gpr Con Blank 2 2004-4-2-cy3(450)-0410-A24h-only532.gpr A1h Blank 3 2004-4-2-cy3(450)-4526-A5h-only532.gpr A5h Blank 4 2004-4-2-cy3(450)-4527-A10h-only532.gpr A10h Blank 5 2004-4-2-cy3(450)-4529-A1h-only532.gpr A24h Blank And the file's name is Targets.I put it with the five *.gpr under the same directory of limma's data. But I failed in running limma.This is the result: > targets <- readTargets() Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `Targets.txt' Could anyone tell me why? Thank you very much! -- Xiaopeng ZHANG <xpzhang@genetics.ac.cn>
Normalization limma Normalization limma • 1.8k views
ADD COMMENT
0
Entering edit mode
@james-wettenhall-153
Last seen 9.6 years ago
Hi, On Mon, 14 Jun 2004, xpzhang wrote: > using limma. After I read the userguide of limma, I made a Targets > file.It is just like: > SlideNumber FileName Cy3 Cy5 > 1 2004-4-2-cy3(450)-0409-Con-only532.gpr Con Blank > 2 2004-4-2-cy3(450)-0410-A24h-only532.gpr A1h Blank ... <snip> > And the file's name is Targets. Do you mean "Targets.txt"? If in doubt about whether limma is accessing the correct file, specify the full filename as an argument to readTargets, e.g. readTargets("MyTargetsFile.txt") See ?readTargets for more information. > But I failed in running limma.This is the result: > > targets <- readTargets() > Error in file(file, "r") : unable to open connection It certainly sounds like limma cannot find your file. Check your current working directory in R, using getwd(). Check that your targets file is in that directory and that it is called "Targets.txt", or whatever you specify for the file argument of readTargets. (See ?readTargets). If you still have trouble, check that your targets file is tab-delimited (not space-delimited) and that there are no extra tabs at the end of rows. You could also try removing the special characters from your gpr filenames, e.g. the parentheses: '(' and ')' but this shouldn't really be necessary. Regards, James
ADD COMMENT

Login before adding your answer.

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