[maImage: Draw multiple spatial plots on the SAME graph]
1
0
Entering edit mode
@foatafrancislausannenrcnh-546
Last seen 9.7 years ago
Hello, I have a stupid problem: I want to draw four spatial plots on the SAME graph. Here is the R code I've tried but it does not work : par(mfrow=c(2,2)) maImage(christian.raw[,1], x="maGf") maImage(christian.raw[,1], x="maGb") maImage(christian.raw[,1], x="maRf") maImage(christian.raw[,1], x="maRb") The plots are drawn one after the other Does someone know how to handle this problem ? Thanks, Francis [[alternative HTML version deleted]]
• 931 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 4 months ago
United States
Prior to the plots, give the command: par(mfrow=c(2,2)) See ?par for more information. Sean ----- Original Message ----- From: "Foata,Francis,LAUSANNE,NRC/N&H" <francis.foata@rdls.nestle.com> To: <bioconductor@stat.math.ethz.ch> Sent: Monday, January 19, 2004 9:28 AM Subject: [BioC] [maImage: Draw multiple spatial plots on the SAME graph] > Hello, > > I have a stupid problem: I want to draw four spatial plots on the SAME > graph. Here is the R code I've tried but it does not work : > > par(mfrow=c(2,2)) > maImage(christian.raw[,1], x="maGf") > maImage(christian.raw[,1], x="maGb") > maImage(christian.raw[,1], x="maRf") > maImage(christian.raw[,1], x="maRb") > > The plots are drawn one after the other > > Does someone know how to handle this problem ? > > Thanks, > > Francis > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT
0
Entering edit mode
This question arose earlier on this list. par(mfrow= ) does not work unless you also use "bar=F" in maImage, because there is a par command in maImage. e.g. par(mfrow=c(2,3)) maImage(fdata[,1],x="maGb",bar=F) maImage(data[,1],x="maRb",bar=F) maImage(data[,1],x="maM",bar=F) maImage(data[,1],x="maGf",bar=F) maImage(data[,1],x="maRf",bar=F) At 10:52 AM 1/19/2004, Sean Davis wrote: >Prior to the plots, give the command: > >par(mfrow=c(2,2)) > >See ?par for more information. > >Sean >----- Original Message ----- >From: "Foata,Francis,LAUSANNE,NRC/N&H" <francis.foata@rdls.nestle.com> >To: <bioconductor@stat.math.ethz.ch> >Sent: Monday, January 19, 2004 9:28 AM >Subject: [BioC] [maImage: Draw multiple spatial plots on the SAME graph] > > > > Hello, > > > > I have a stupid problem: I want to draw four spatial plots on the SAME > > graph. Here is the R code I've tried but it does not work : > > > > par(mfrow=c(2,2)) > > maImage(christian.raw[,1], x="maGf") > > maImage(christian.raw[,1], x="maGb") > > maImage(christian.raw[,1], x="maRf") > > maImage(christian.raw[,1], x="maRb") > > > > The plots are drawn one after the other > > > > Does someone know how to handle this problem ? > > > > Thanks, > > > > Francis > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioconductor mailing list > > Bioconductor@stat.math.ethz.ch > > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > > > >_______________________________________________ >Bioconductor mailing list >Bioconductor@stat.math.ethz.ch >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor Naomi S. Altman 814-865-3791 (voice) Associate Professor Bioinformatics Consulting Center Dept. of Statistics 814-863-7114 (fax) Penn State University 814-865-1348 (Statistics) University Park, PA 16802-2111
ADD REPLY

Login before adding your answer.

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