[BioC] Trouble with maQualityPlots

Zoller,Jason R JRZoller at mdanderson.org
Mon Jun 7 23:30:28 CEST 2010


I'm new to R and Bioconductor, and I was going through the tutorial in the "Quick start guide for marray".  When I entered the line "> maQualityPlots(mraw)", I got this error message:  "Error in baseViewports() : could not find function "viewport".  My code follows the tutorial, exactly, which is:

> library(marray)
Loading required package: limma
> dir(system.file("swirldata", package = "marray"))
[1] "fish.gal"        "swirl.1.spot"    "swirl.2.spot"    "swirl.3.spot"  
[5] "swirl.4.spot"    "SwirlSample.txt"
> datadir <- system.file("swirldata", package = "marray")
> swirlTargets <- read.marrayInfo(file.path(datadir, "SwirlSample.txt"))
> mraw <- read.Spot(targets = swirlTargets, path = datadir)
Reading ...  C:/PROGRA~1/R/R-211~1.0/library/marray/swirldata/swirl.1.spot
Reading ...  C:/PROGRA~1/R/R-211~1.0/library/marray/swirldata/swirl.2.spot
Reading ...  C:/PROGRA~1/R/R-211~1.0/library/marray/swirldata/swirl.3.spot
Reading ...  C:/PROGRA~1/R/R-211~1.0/library/marray/swirldata/swirl.4.spot
> galinfo <- read.Galfile("fish.gal", path = datadir)
> mraw at maLayout <- galinfo$layout
> mraw at maGnames <- galinfo$gnames
> library(arrayQuality)
> maQualityPlots(mraw)
Error in baseViewports() : could not find function "viewport"

I am running R 2.11.0, and Bioconductor 2.6.  Please let me know If I need to provide any more information.

Greatly appreciated,

Jason Zoller
UT MD Anderson Cancer Center
Experimental Therapeutics
Research Assistant 2

More information about the Bioconductor mailing list