X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clusterclassic.cpp;h=f0bae59ab33de8c2f451b80c7180a33c49c28a54;hb=15b252e317fde72ce0a5de8776cb88112e0ed2b6;hp=1ce81c4f2affda469164709f862bb36ff023c163;hpb=4c302368ef34f0d897afefc7853edf86fb45b9f3;p=mothur.git diff --git a/clusterclassic.cpp b/clusterclassic.cpp index 1ce81c4..f0bae59 100644 --- a/clusterclassic.cpp +++ b/clusterclassic.cpp @@ -19,6 +19,10 @@ ClusterClassic::ClusterClassic(float c, string f, bool s) : method(f), smallDist cutoff = c; aboveCutoff = cutoff + 10000.0; m = MothurOut::getInstance(); + if(method == "furthest") { tag = "fn"; } + else if (method == "average") { tag = "an"; } + else if (method == "weighted") { tag = "wn"; } + else if (method == "nearest") { tag = "nn"; } } catch(exception& e) { m->errorOut(e, "ClusterClassic", "ClusterClassic");