- m->mothurOut("The consensus command can only be executed after a successful read.tree command.\n");
- m->mothurOut("The consensus command has no parameters.\n");
- m->mothurOut("The consensus command should be in the following format: consensus().\n");
- m->mothurOut("The consensus command output two files: .consensus.tre and .consensuspairs.\n");
- m->mothurOut("The .consensus.tre file contains the consensus tree of the trees in your input file.\n");
- m->mothurOut("The branch lengths are the percentage of trees in your input file that had the given pair.\n");
- m->mothurOut("The .consensuspairs file contains a list of the internal nodes in your tree. For each node, the pair that was used in the consensus tree \n");
- m->mothurOut("is reported with its percentage, as well as the other pairs that were seen for that node but not used and their percentages.\n\n");
+ string helpString = "";
+ helpString += "The consensus command can only be executed after a successful read.tree command.\n";
+ helpString += "The consensus command has no parameters.\n";
+ helpString += "The consensus command should be in the following format: consensus().\n";
+ helpString += "The consensus command output two files: .consensus.tre and .consensuspairs.\n";
+ helpString += "The .consensus.tre file contains the consensus tree of the trees in your input file.\n";
+ helpString += "The branch lengths are the percentage of trees in your input file that had the given pair.\n";
+ helpString += "The .consensuspairs file contains a list of the internal nodes in your tree. For each node, the pair that was used in the consensus tree \n";
+ helpString += "is reported with its percentage, as well as the other pairs that were seen for that node but not used and their percentages.\n";
+ return helpString;