Refactor for better encapsulation with CellSamples

This commit is contained in:
2022-02-27 14:51:53 -06:00
parent 8ebfc1469f
commit a5f7c0641d
2 changed files with 3 additions and 3 deletions

View File

@@ -24,8 +24,9 @@ public class Simulator implements GraphModificationFunctions {
private static final int cdr1BetaIndex = 3;
//Make the graph needed for matching CDR3s
public static GraphWithMapData makeGraph(List<Integer[]> distinctCells, Plate samplePlate, boolean verbose) {
public static GraphWithMapData makeGraph(CellSample cellSample, Plate samplePlate, boolean verbose) {
Instant start = Instant.now();
List<Integer[]> distinctCells = cellSample.getCells();
int[] alphaIndex = {cdr3AlphaIndex};
int[] betaIndex = {cdr3BetaIndex};