Error with read.imagene
1
0
Entering edit mode
@marchiemliberoit-547
Last seen 9.6 years ago
Hi to all, I wanted to read in the files in the same order of the target file but I can't read the files names from the target file because the function wants a 2 columns matrix... so that I created the matrix: > oxyfiles<-cbind(Oxytarget$FileNameCy3,Oxytarget$FileNameCy5) Now I have a matrix with the files in the same order of the target files but when I try to read in the data I get this message: > RGo<-read.imagene(oxyfiles,columns=list(f="Median Signal",b="Background Median"),names=Oxytarget$Name,path="C:/Program Files/R/rw1081/bin/oxyR") Read header information Read C:/Program Files/R/rw1081/bin/oxyR/2-4-04_SC19.57_Cy3_g58.txt Error in "[.data.frame"(obj, , columns$f) : undefined columns selected Please can somebody tell me what I'm doing wrong? I find inconvenient use the command dir(pattern=*.txt) to create the file with the arrays because it stores them randomly... Thank you very much in advance. best regards. Emanuele
• 798 views
ADD COMMENT
0
Entering edit mode
@marchiemliberoit-547
Last seen 9.6 years ago
Hi to all, I wanted to read in the files in the same order of the target file but I can't read the files names from the target file because the function wants a 2 columns matrix... so that I created the matrix: > oxyfiles<-cbind(Oxytarget$FileNameCy3,Oxytarget$FileNameCy5) Now I have a matrix with the files in the same order of the target files but when I try to read in the data I get this message: > RGo<-read.imagene(oxyfiles,columns=list(f="Median Signal",b="Background Median"),names=Oxytarget$Name,path="C:/Program Files/R/rw1081/bin/oxyR") Read header information Read C:/Program Files/R/rw1081/bin/oxyR/2-4-04_SC19.57_Cy3_g58.txt Error in "[.data.frame"(obj, , columns$f) : undefined columns selected Please can somebody tell me what I'm doing wrong? I find inconvenient use the command dir(pattern=*.txt) to create the file with the arrays because it stores them randomly... Thank you very much in advance. best regards. Emanuele
ADD COMMENT

Login before adding your answer.

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