<html><div style='background-color:'><DIV class=RTE>Dear all,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>I am experiencing difficulties with setting the spot types after reading in Imagene files:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>> targets <- readTargets() # read in Targets.txt from working dir<BR>> targets<BR> SlideNumber FileNameCy3 FileNameCy5 Cy3 Cy5<BR>1 1 0_Cy3_Slide1.txt 1_Cy5_Slide1.txt Test1 Ref1<BR>2 2 0_Cy3_Slide2.txt 1_Cy5_Slide2.txt Test2 Ref2<BR>> files <- cbind(targets$FileNameCy3, targets$FileNameCy5) # This step is necessary for imagene files!<BR>> files <BR> [,1] [,2] <BR>[1,] "0_Cy3_Slide1.txt" "1_Cy5_Slide1.txt"<BR>[2,] "0_Cy3_Slide2.txt" "1_Cy5_Slide2.txt"<BR>> RG <- read.maimages(files, source="imagene") # read in the files<BR>Read header information<BR>Read 0_Cy3_Slide1.txt <BR>Read 1_Cy5_Slide1.txt <BR>Read 0_Cy3_Slide2.txt <BR>Read 1_Cy5_Slide2.txt <BR>> types <- readSpotTypes() # read from SpotTypes.txt<BR>> types<BR> SpotType ID Name Color<BR>1 Gene * * black<BR>2 Spot Control Spot brown<BR>3 COT Control COT brown<BR>4 Dros Control Dros* brown<BR>5 Cy3 Control Cy3 green<BR>6 Cy5 Control Cy5 red<BR>> status <- controlStatus(types,RG)<BR>Matching patterns for: <BR>Error in matrix(unlist(value, recursive = FALSE, use.names = FALSE), nrow = length(rn), : <BR> attempt to set an attribute on NULL<BR>> </DIV>
<DIV class=RTE>As far as I know this is what the manual suggests. What am I doing wrong?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Kind regards,</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Edo Plantinga<BR></DIV></div><br clear=all><hr>Protect your inbox from harmful viruses with new ninemsn Premium. <a href="http://g.msn.com/8HMAENAU/2746??PS="> Upgrade now!</a> </html>