*
*/
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <vector>
+
#include "command.hpp"
#include "sharedrabundvector.h"
#include "inputdata.h"
#include "calculator.h"
#include "readmatrix.hpp"
+#include "sharedlistvector.h"
+#include "validcalculator.h"
/*The summary.shared() command
The summary.shared command can only be executed after a successful read.shared command.
int execute();
private:
- void getGroupComb();
void getSharedVectors();
+ void setGroups();
GlobalData* globaldata;
ReadMatrix* read;
vector<Calculator*> sumCalculators;
InputData* input;
- ListVector* list;
+ ValidCalculators* validCalculator;
+ SharedListVector* SharedList;
SharedOrderVector* order;
vector<SharedRAbundVector*> lookup;
SharedRAbundVector* shared1, shared2;
- string outputFileName;
+ string outputFileName, format;
ofstream outputFileHandle;
- vector<string> groupComb;
};
-#endif
\ No newline at end of file
+#endif