[BioC] BUG : mistype in xy2indices, affy version 1.2.27
Pierre-yves Boëlle
boelle at u444.jussieu.fr
Tue Jun 10 18:59:46 MEST 2003
In package affy version 1.2.27, there is a mistype error in the code of xy2indices :
function (x, y, nr = NULL, cel = NULL, abatch = NULL)
{
if (any(x <= 0) || any(y <= 0))
stop("Xs and Ys must start at 1 (please refer to the help file) !")
/* ***nc*** should be ***nr*** */
ct <- sum(c(is.null(nc), is.null(cel), is.null(abatch)))
^^^
if (ct != 2)
/* and here again */
stop("One and only one of 'nc', 'cel', 'abatch' should be specified.")
^^^
if (!is.null(cel))
nr <- nrow(intensity(cel))
if (!is.null((abatch)))
nr <- nrow(abatch)
return(x + nr * (y - 1))
}
Sorry if this is a known/fixed issue.
PYBoelle
FdM StAntoine
PARIS
[[alternate HTML version deleted]]
More information about the Bioconductor
mailing list