]> git.donarmstrong.com Git - mothur.git/blobdiff - mantelcommand.cpp
forced rarefaction.single to output ending line for all groups. added subsample...
[mothur.git] / mantelcommand.cpp
index 0c0163b538a747ca5b9b4eb82ef57a06ca302b91..409eae414779acb412abec7aa295b61e82cd0e16 100644 (file)
@@ -69,6 +69,7 @@ MantelCommand::MantelCommand(string option)  {
                
                //allow user to run help
                if(option == "help") { help(); abort = true; calledHelp = true; }
+               else if(option == "citation") { citation(); abort = true; calledHelp = true;}
                
                else {
                        vector<string> myArray = setParameters();
@@ -124,7 +125,7 @@ MantelCommand::MantelCommand(string option)  {
                        method = validParameter.validFile(parameters, "method", false);         if (method == "not found"){     method = "pearson";             }
                        
                        string temp = validParameter.validFile(parameters, "iters", false);                     if (temp == "not found") { temp = "1000"; }
-                       convert(temp, iters);
+                       m->mothurConvert(temp, iters);
                        
                        if ((method != "pearson") && (method != "spearman") && (method != "kendall")) { m->mothurOut(method + " is not a valid method. Valid methods are pearson, spearman, and kendall."); m->mothurOutEndLine(); abort = true; }
                }