i2xy {hs133xhsvegatcdf} | R Documentation |
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.
i2xy(i) xy2i(x,y)
x |
numeric. x-coordinate (from 1 to 1164) |
y |
numeric. y-coordinate (from 1 to 1164) |
i |
numeric. single-number index (from 1 to 1354896) |
Type i2xy
and xy2i
at the R prompt to
view the function definitions.
xy2i(5,5) i = 1:(1164*1164) coord = i2xy(i) j = xy2i(coord[, "x"], coord[, "y"]) stopifnot(all(i==j)) range(coord[, "x"]) range(coord[, "y"])