Entering edit mode
Pierre-yves Boëlle
▴
10
@pierre-yves-boelle-333
Last seen 10.3 years ago
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]]