git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/Biobase@103388 bc3139a8-67e5-0310-9ffc-ced21a209358
... | ... |
@@ -355,7 +355,7 @@ setMethod("[", "eSet", function(x, i, j, ..., drop = FALSE) { |
355 | 355 |
if (missing(drop)) |
356 | 356 |
drop <- FALSE |
357 | 357 |
if (missing(i) && missing(j)) { |
358 |
- if (length(list(...))!=0) |
|
358 |
+ if (!missing(...)) |
|
359 | 359 |
stop("specify genes or samples to subset; use '", |
360 | 360 |
substitute(x), "$", names(list(...))[[1]], |
361 | 361 |
"' to access phenoData variables") |