Add getCell and getRandomCell methods

This commit is contained in:
eugenefischer
2022-09-28 13:49:50 -05:00
parent 882fbfffc6
commit adebe1542e

View File

@@ -49,6 +49,13 @@ public class CellSample {
return cells;
}
public String[] getCell(Integer n) { return cells.get(n); };
public String[] getRandomCell() {
int n = BiGpairSEQ.getRand().nextInt(cells.size());
return getCell(n);
}
public Integer getCdr1Freq() {
return cdr1Freq;
}