[BioC] maBoxplot in v1.4
charles.edwin.white at us.army.mil
charles.edwin.white at us.army.mil
Thu May 27 15:47:24 CEST 2004
PrintTip boxplots fail with the following error message under R 1.9.0 and Bioconductor v1.4:
“Error in boxplot.default(yy ~ xx, xlab = "PrintTip", ylab = "M", names = c("(1,1)", :
names attribute [16] must be the same length as the vector [1]”
The exact same test code works fine under R 1.8.1 (… and whatever version of Bioconductor I’m running there …).
library(marrayInput)
swirl.layout <- read.marrayLayout(fname = "fish.gal", ngr = 4, ngc = 4, nsr = 22,
nsc = 24, skip = 21,ctl.col = 4)
ctl <- rep("Control", maNspots(swirl.layout))
ctl[maControls(swirl.layout) != "control"] <- "N"
maControls(swirl.layout) <- factor(ctl)
swirl.targets <- read.marrayInfo("SwirlSample.txt")
swirl.gnames <- read.marrayInfo("fish.gal",info.id = 4:5, labels = 5, skip = 21)
datadir <- getwd()
fnames <- dir(path=datadir,pattern=paste("*", "spot", sep="\."))
swirl<- read.Spot(fnames, path=datadir,
layout = swirl.layout,
gnames = swirl.gnames,
targets = swirl.targets)
library(marrayPlots)
maBoxplot(swirl[, 1])
Help would be appreciated. Thanks!
Chuck
Charles E. White, Senior Biostatistician, M.S.
Walter Reed Army Institute of Research
503 Robert Grant Ave., Room 1w102
Silver Spring, MD 20910-1557
301 319-9781
Personal/Professional Site: http://users.starpower.net/cwhite571/professional/
More information about the Bioconductor
mailing list