]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterclassic.cpp
added classic parameter to cluster.split. working on make.contigs command. fixed...
[mothur.git] / clusterclassic.cpp
index 1ce81c4f2affda469164709f862bb36ff023c163..f0bae59ab33de8c2f451b80c7180a33c49c28a54 100644 (file)
@@ -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");