[BioC] Error message in MDiagnPlots1

Jean Yee Hwa Yang jean at biostat.ucsf.edu
Fri Nov 7 20:15:21 MET 2003


Hi Richard,

Thank you for pointing this out, this is a bug on our end.  I will fix
this soon, for the moment, you might want to modified the frist few lines
of the function as follow:

maDiagnPlots1mod <- 
function (mraw, title = NULL, save = TRUE, fname =
paste(as.character(maLabels(maTargets(mraw))[1]), 
    ".ps", sep = ""), dev = c("postscript", "jpeg"), ...) 
{
    opt <- list(...)
    mraw <- mraw[, 1]
    mnorm <- maNorm(mraw, norm = "p")
    if (save == TRUE) 
        do.call(dev, c(list(fname), opt))
    ## the rest is the same as before


Then use
maDiagnPlots1mod(swirl[,2], width=1000, height=1000, dev="jpeg")

Hope this help.  I will incoporate the bug-fix soon.

Cheers

Jean

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Jean Yee Hwa Yang			 jean at biostat.ucsf.edu
 Division of Biostatistics,		   Tel: (415) 476-3368
 University of California,		   Fax: (415) 476-6014
 500 Parnassus Avenue, MU 420-W,  San Francisco, CA 94143-0560
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Fri, 7 Nov 2003, Richard Friedman wrote:

> Fellow Expressionists,
> 
> 	In running  maDiagnPlots1 on the swirl test dataset,
> received the following error message:
> 
> > maDiagnPlots1(swirl[,2], title="Swirl array 93: Diagnostic Plots",
> + save=TRUE, fname="swirl93.jpeg", dev="jpeg")
> Error in plot.new() : Figure margins too large
> 
> 	I am running R1.8.0 Windows XP and marrayPlots 1.1.6
> 	All of the previous marraPlots functions worked.
> 	I would appreciate any suggestions.
> 
> Thanks and best wishes
> Rich
> ------------------------------------------------------------
> Richard A. Friedman, PhD
> Associate Research Scientist
> Herbert Irving Comprehensive Cancer Center
> Oncoinformatics Core
> Lecturer
> Department of Biomedical Informatics
> Box 95, Room 130BB or P&S 1-420C
> Columbia University
> 630 W. 168th St.
> New York, NY 10032
> (212)305-6901 (5-6901) (voice)
> friedman at cancercenter.columbia.edu
> http://cancercenter.columbia.edu/~friedman/
> 
> "In slumberland there are 100 kinds of halavah and you
> have to eat every one." -Rose Friedman, age 7
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list