Error message in imageplot of limma packages
1
0
Entering edit mode
Joyce Gu ▴ 200
@joyce-gu-611
Last seen 10.2 years ago
Hi, I tried to use imageplot to see my normalized data in limma package, I tried both command as following, > imageplot(log2(RB$Rb[,1]),RB$printer,low="white",high="red") and > imageplot(MA$M[,1],RB$printer,zlim=c(-3,3)) and >imageplot(MA$M[,1],layout=list(ngrid.r=12,ngrid.c=4,nspot.r=21,nspot. c=21)) they all gave me the same kind of error messages: Error in imageplot(log2(RB$Rb[, 1]), RB$printer, low = "white", high = "red") : Number of image spots does not agree with layout dimensions Or Error in imageplot(MA$M[, 1], RB$printer) : Number of image spots does not agree with layout dimensions Any idea is greatly appreciated! Thanks ******************************** Joyce Gu M.S. Scientific Programmer Cancer Genomics Group Baylor College of Medicine Phone: 832-824-4680 Fax: 832-825-4038
limma limma • 971 views
ADD COMMENT
0
Entering edit mode
Matthew Ritchie ▴ 1000
@matthew-ritchie-650
Last seen 7 months ago
Australia
Hi Joyce, As the error message suggests, the number of spots in your RB/MA object and the layout you have specified don't agree. Try dim(RB$Rb) dim(MA$M) to determine how many spots (rows) and arrays (columns) you have read in and converted to log-ratios. Does the number of spots returned agree with the number you have specified in the layout arguments of imageplot() (12*4*21*21 = 21168)? If not then you need to correct this so that the two agree. Best wishes, Matt Ritchie > Hi, > I tried to use imageplot to see my normalized data in limma package, I > tried both command as following, >> imageplot(log2(RB$Rb[,1]),RB$printer,low="white",high="red") > and >> imageplot(MA$M[,1],RB$printer,zlim=c(-3,3)) > and >>imageplot(MA$M[,1],layout=list(ngrid.r=12,ngrid.c=4,nspot.r=21,nspot .c=21)) > > they all gave me the same kind of error messages: > Error in imageplot(log2(RB$Rb[, 1]), RB$printer, low = "white", high = > "red") : > Number of image spots does not agree with layout dimensions > > Or > Error in imageplot(MA$M[, 1], RB$printer) : > Number of image spots does not agree with layout dimensions > > Any idea is greatly appreciated! > Thanks > > ******************************** > Joyce Gu M.S. > Scientific Programmer > > Cancer Genomics Group > Baylor College of Medicine > Phone: 832-824-4680 > Fax: 832-825-4038
ADD COMMENT

Login before adding your answer.

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