/usr/lib/R/site-library/makecdfenv/Code/man/geometry.Rd is in r-bioc-makecdfenv 1.50.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | \name{i2xy}
\alias{i2xy}
\alias{xy2i}
\title{Convert (x,y)-coordinates to single-number indices and back.}
\description{Convert (x,y)-coordinates on the chip (and in the CEL file) to the
single-number indices used in AffyBatch and CDF environment, and back.}
\usage{i2xy(i)
xy2i(x,y)
}
\arguments{
\item{x}{numeric. x-coordinate (from 1 to @SIZEX@)}
\item{y}{numeric. y-coordinate (from 1 to @SIZEY@)}
\item{i}{numeric. single-number index (from 1 to @SIZEI@)}
}
\details{Type \code{i2xy} and \code{xy2i} at the \R prompt to
view the function definitions.}
\seealso{\code{\link{@PKGNAME@}}}
\keyword{datasets}
\examples{
xy2i(5,5)
i = 1:(@SIZEX@*@SIZEY@)
coord = i2xy(i)
j = xy2i(coord[, "x"], coord[, "y"])
stopifnot(all(i==j))
range(coord[, "x"])
range(coord[, "y"])
}
|