Closed SynbioLucas closed 8 years ago
@BrianLandry :
Add this column as the second column in the CSV. I used a function to figure out the coordinate, but you may not want it, I'm not sure. (I won't be committing my code since you didn't want me to.)
// Converts a well number to plate coordinates (e.g. A1, A2, etc.)
this.getPlateCoordinates = function (wellNum) {
var r = Math.floor(wellNum / this.cols);
var c = wellNum % this.cols;
var alphabet = "abcdefghijklmnopqrstuvwxyz".toUpperCase().split("");
return alphabet[r] + (c+1)
}
Currently, the indices in the CSV are 0-indexed. We should change these (the randomization matrix column and the well number column) to 1-indexed values, which is more intuitive and consistent with the Iris interface.
Leave the numbered column though for easy sorting in Excel.