7 * Created by Sarah Westcott on 3/25/09.
8 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
12 #include "rabundvector.hpp"
13 #include "sharedrabundvector.h"
14 #include "datavector.hpp"
15 #include "globaldata.hpp"
17 /***********************************************************************/
21 binCount(int i, int j) : bin(i), abund(j) {}
23 /***********************************************************************/
24 //sorts highest abund to lowest
25 inline bool comparebinCounts(binCount left, binCount right){
26 return (left.abund > right.abund);
28 /***********************************************************************/
33 HeatMap(string, string, int, int, string);
36 string getPic(RAbundVector*);
37 string getPic(vector<SharedRAbundVector*>);
40 int sortSharedVectors(vector<SharedRAbundVector*>& );
41 void printLegend(int, float);
43 GlobalData* globaldata;
44 string format, sorted, groupComb, scaler, outputDir;
49 map<int, int> orderTopGroup(vector<SharedRAbundVector*>&);
50 map<int, int> orderTopOtu(vector<SharedRAbundVector*>&);
51 map<int, int> orderShared(vector<SharedRAbundVector*>&);
55 /***********************************************************************/