This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in match.arg in boxplot - oligo package

When running the following code:

library(oligo)
library(GEOquery)
getGEOSuppFiles("GSE38792")
list.files("GSE38792")
untar("GSE38792/GSE38792_RAW.tar", exdir = "GSE38792/CEL")
list.files("GSE38792/CEL")
celfiles <- list.files("GSE38792/CEL", full=T)
celfiles
# read cel files
rawData <- read.celfiles(celfiles)
rawData
boxplot(rawData)

I get this error with boxplot(rawData):

Error in match.arg(target, c("probeset", "core", "full", "extended")) : 'arg' should be one of "probeset", "core", "full", "extended"

However, when running boxplot on normalized data there's no error:

normData <- rma(rawData)
normData
boxplot(normData)

Could someone please tell me why is that?

r oligo

and how can we solve the error?

1 answer

Try

boxplot(rawData, "all", las=3)

Log in to answer this question.