errors in imageplot() in limma
1
0
Entering edit mode
@michael-watson-iah-c-378
Last seen 10.2 years ago
Hi I am getting some rather confusing messages from the imageplot() function in limma. As in my previous mail, I am using a version of Bioconductor 1.2 from the website from about 2 weeks ago. I am reading the data in from a GenePix file but I want to use Medians rather than Means, so I did: >RG <- read.maimages("F:\\IBDV_Experiment\\same_layout\\lame#9.adjuste d.gpr",columns=list(Rf = "F635.Median",Gf = "F532.Median", Rb = "B635.Median", Gb = "B532.Median")) This seemed to work. Then: >MA <- MA.RG(RG) Again, this seemed to work fine. Then I did: >> imageplot(MA, layout=list(ngrid.r=8,ngrid.c=4,nspot.r=16,nspot.c=16)) And got the error: Error in imageplot(MA, layout = list(ngrid.r = 8, ngrid.c = 4, nspot.r = 16, : Number of image spots does not agree with layout dimensions Now the layout I have given it is 8*4*16*16 = 8192 So I checked: > length(MA$M) [1] 8192 > length(MA$A) [1] 8192 Hmmmmm.... so that is why I am confused, because the number of image spots DOES agree with the layout dimensions.... Any help would be greatly appreciated :-D Thanks Mick
limma limma • 1.1k views
ADD COMMENT
0
Entering edit mode
@gordon-smyth
Last seen 28 minutes ago
WEHI, Melbourne, Australia
Dear Michael, At 01:47 AM 29/07/2003, michael watson (IAH-C) wrote: >Hi > >I am getting some rather confusing messages from the imageplot() function >in limma. As in my previous mail, I am using a version of Bioconductor >1.2 from the website from about 2 weeks ago. > >I am reading the data in from a GenePix file but I want to use Medians >rather than Means, so I did: > > >RG <- > read.maimages("F:\\IBDV_Experiment\\same_layout\\lame#9.adjusted.gpr ",columns=list(Rf > = "F635.Median",Gf = "F532.Median", Rb = "B635.Median", Gb = "B532.Median")) > >This seemed to work. Then: This is fine. > >MA <- MA.RG(RG) > >Again, this seemed to work fine. Then I did: > > >> imageplot(MA, layout=list(ngrid.r=8,ngrid.c=4,nspot.r=16,nspot.c=16)) This won't work because imageplot doesn't know which array you want to do the imageplot for or what statistic you want to plot. (There is no such thing as an imageplot of a whole series of arrays, at least no one has defined such a thing yet.) As explained in the online help, the first argument z to imageplot should be a numeric vector rather than an MAList object. Unfortunately there aren't any good examples which make this clear in the online documentation yet. For example, if you want to plot the log-ratios for the first array, simply use imageplot(MA$M[,1], layout=list(ngrid.r=8,ngrid.c=4,nspot.r=16,nspot.c=16)) Gordon >And got the error: > >Error in imageplot(MA, layout = list(ngrid.r = 8, ngrid.c = 4, nspot.r = >16, : > Number of image spots does not agree with layout dimensions > >Now the layout I have given it is 8*4*16*16 = 8192 > >So I checked: > > > length(MA$M) >[1] 8192 > > length(MA$A) >[1] 8192 > >Hmmmmm.... so that is why I am confused, because the number of image spots >DOES agree with the layout dimensions.... > >Any help would be greatly appreciated :-D > >Thanks >Mick
ADD COMMENT
0
Entering edit mode
Similar problem as this morning with widgetTools, which is now fixed. I'm sure you are working on it. Update ran fine from linux. In WinXP R1.7.1 > update.packages(CRAN=getOption("BIOC")) trying URL `http://www.bioconductor.org/bin/windows/contrib/1.7/PACKAGES' Content type `text/plain' length 11255 bytes opened URL downloaded 10Kb affy : Version 1.2.28 in C:/R/rw1071/library Version 1.2.30 on CRAN Update (y/N)? y trying URL `http://www.bioconductor.org/bin/windows/contrib/1.7/affy_1.2.30.zip' Error in download.file(url, destfile, method, mode = "wb") : cannot open: HTTP status was `404 Not Found' >
ADD REPLY

Login before adding your answer.

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