checkRandomness {beadarray} | R Documentation |
Function tests to see if a set of co-ordinates are randomly positioned around an array. This can be used to test the distribution of beads of the same type on the same array or outliers for an array.
checkRandomness(BLData, array, coords)
BLData |
BeadLevelList containing bead-level data |
array |
numeric value specifying the array we want to check the co-ordinates on |
coords |
n by 2 vector where first column is list of x co-ordinates and second column is list of y co-ordinates |
The array is split into 8 sections and a chi-squared goodness of fit test is used to assess if the co-ordinates are equally spread among the 8 sections. The chi-squared statistic is defined such that a higher value indicates a less random distribution.
Numeric value giving the result of the chi-squared test.
Mark Dunning
data(BLData) co=getProbeCoords(BLData, 2, 1) checkRandomness(BLData, 1, co)