Add plate well concentrations to output data
This commit is contained in:
Binary file not shown.
@@ -240,9 +240,13 @@ public class Simulator {
|
|||||||
BigDecimal attemptRateTrunc = new BigDecimal(attemptRate, mc);
|
BigDecimal attemptRateTrunc = new BigDecimal(attemptRate, mc);
|
||||||
double pairingErrorRate = (double) falseCount / (trueCount + falseCount);
|
double pairingErrorRate = (double) falseCount / (trueCount + falseCount);
|
||||||
BigDecimal pairingErrorRateTrunc = new BigDecimal(pairingErrorRate, mc);
|
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<>();
|
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 alphas found: " + alphaCount);
|
||||||
comments.add("Total betas found: " + betaCount);
|
comments.add("Total betas found: " + betaCount);
|
||||||
comments.add("High overlap threshold: " + highThreshold);
|
comments.add("High overlap threshold: " + highThreshold);
|
||||||
|
|||||||
Reference in New Issue
Block a user