void entropyAll(int thresholdCount, ArrayList<Double> entropies) { if (totalCount >= thresholdCount) entropies.add(entropy()); for (AcgtTree node : nodes) if (node != null) node.entropyAll(thresholdCount, entropies); }