Add plate well concentrations to output data

This commit is contained in:
2022-02-20 01:40:01 -06:00
parent 0b28259800
commit c96b7237e9
2 changed files with 6 additions and 2 deletions

View File

@@ -240,9 +240,13 @@ public class Simulator {
BigDecimal attemptRateTrunc = new BigDecimal(attemptRate, mc);
double pairingErrorRate = (double) falseCount / (trueCount + falseCount);
BigDecimal pairingErrorRateTrunc = new BigDecimal(pairingErrorRate, mc);
Integer[] wellConcentrations = data.getWellConcentrations();
String concentrations = wellConcentrations[0].toString();
for (int i = 1; i < wellConcentrations.length; i++) {
concentrations = concentrations.concat(", "+ wellConcentrations[i].toString());
}
List<String> comments = new ArrayList<>();
comments.add("T cell counts in sample plate wells: " + Arrays.toString(data.getWellConcentrations()));
comments.add("T cell counts in sample plate wells: " + concentrations);
comments.add("Total alphas found: " + alphaCount);
comments.add("Total betas found: " + betaCount);
comments.add("High overlap threshold: " + highThreshold);