X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=heatmapcommand.cpp;h=bb82702e9089b04f73571be314956567fb88f40e;hb=6446d2e9713a95db5f772135b7aa3387f7ebf7bb;hp=c6345328e6d5ac5b0e577d03a797d35448446227;hpb=7ae40733a270f73ec8a331540cc7f28fd60b24fc;p=mothur.git diff --git a/heatmapcommand.cpp b/heatmapcommand.cpp index c634532..bb82702 100644 --- a/heatmapcommand.cpp +++ b/heatmapcommand.cpp @@ -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();