*
*/
-#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.
private:
void getSharedVectors();
+ void setGroups();
GlobalData* globaldata;
ReadMatrix* read;
vector<Calculator*> sumCalculators;
InputData* input;
+ ValidCalculators* validCalculator;
SharedListVector* SharedList;
SharedOrderVector* order;
vector<SharedRAbundVector*> lookup;
SharedRAbundVector* shared1, shared2;
- string outputFileName;
+ string outputFileName, format;
ofstream outputFileHandle;
};