]> git.donarmstrong.com Git - mothur.git/blobdiff - heatmapcommand.cpp
added distance option to summary.shared
[mothur.git] / heatmapcommand.cpp
index c6345328e6d5ac5b0e577d03a797d35448446227..bb82702e9089b04f73571be314956567fb88f40e 100644 (file)
@@ -109,7 +109,7 @@ void HeatMapCommand::help(){
                m->mothurOut("The group names are separated by dashes. The label parameter allows you to select what distance levels you would like a heatmap created for, and are also separated by dashes.\n");
                m->mothurOut("The fontsize parameter allows you to adjust the font size of the picture created, default=24.\n");
                m->mothurOut("The heatmap.bin command should be in the following format: heatmap.bin(groups=yourGroups, sorted=yourSorted, label=yourLabels).\n");
-               m->mothurOut("Example heatmap.bin(groups=A-B-C, sorted=F, scale=log10).\n");
+               m->mothurOut("Example heatmap.bin(groups=A-B-C, sorted=none, scale=log10).\n");
                m->mothurOut("The default value for groups is all the groups in your groupfile, and all labels in your inputfile will be used.\n");
                m->mothurOut("The default value for scale is log10; your other options are log2 and linear.\n");
                m->mothurOut("The heatmap.bin command outputs a .svg file for each label you specify.\n");
@@ -184,8 +184,9 @@ int HeatMapCommand::execute(){
                                
                                if ((m->anyLabelsToProcess(lookup[0]->getLabel(), userLabels, "") == true) && (processedLabels.count(lastLabel) != 1)) {
                                        string saveLabel = lookup[0]->getLabel();
-                               
+                       
                                        for (int i = 0; i < lookup.size(); i++) {  delete lookup[i];  }  
+                       
                                        lookup = input->getSharedRAbundVectors(lastLabel);
                                        m->mothurOut(lookup[0]->getLabel()); m->mothurOutEndLine();