helpString += "The name parameter allows you to enter your name file and is required if your distance file is in column format. \n";
helpString += "The hcluster command should be in the following format: \n";
helpString += "hcluster(column=youDistanceFile, name=yourNameFile, method=yourMethod, cutoff=yourCutoff, precision=yourPrecision) \n";
- helpString += "The acceptable hcluster methods are furthest, nearest, weighted and average.\n\n";
+ helpString += "The acceptable hcluster methods are furthest, nearest, weighted and average.\n";
return helpString;
}
catch(exception& e) {
if(option == "help") { help(); abort = true; calledHelp = true; }
else {
- //valid paramters for this command
- string Array[] = {"cutoff","hard","precision","method","phylip","column","name","sorted","showabund","timing","outputdir","inputdir"};
- vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+ vector<string> myArray = setParameters();
OptionParser parser(option);
map<string,string> parameters = parser.getParameters();