X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bayesian.cpp;h=00467ff0feb0a5df82314685520943376582278e;hb=905cc2b0bd18c5ce611b048d785e93859865a5ea;hp=e5543cdf0c320847a7cb9bc16957b64bb73d3b6a;hpb=dabb32850eae34e26b066a7da55716ad685786a3;p=mothur.git diff --git a/bayesian.cpp b/bayesian.cpp index e5543cd..00467ff 100644 --- a/bayesian.cpp +++ b/bayesian.cpp @@ -274,7 +274,7 @@ string Bayesian::bootstrapResults(vector kmers, int tax, int numToSelect) { confidence = confidenceScores[seqTax.level][seqTax.name]; } - if (confidence >= confidenceThreshold) { + if (((confidence/(float)iters) * 100) >= confidenceThreshold) { confidenceTax = seqTax.name + "(" + toString(((confidence/(float)iters) * 100)) + ");" + confidenceTax; simpleTax = seqTax.name + ";" + simpleTax; }