#include "rabundvector.hpp"
//#include "groupmap.h"
-/* This class is a child to datavector. It represents OTU information at a certain distance.
+/* DataStructure for a shared file.
+ This class is a child to datavector. It represents OTU information at a certain distance.
It is similiar to an rabundvector except each member of data knows which group it belongs to.
Each member of the internal container "data" is a struct of type individual.
An individual which knows the OTU from which it came,
the group it is in and its abundance. */
-//class GlobalData;
class SharedRAbundVector : public DataVector {
int getMaxRank();
string getGroup();
void setGroup(string);
+ string getBinLabel();
+ void setBinLabel(string);
int getGroupIndex();
void setGroupIndex(int);
individual get(int);
vector <individual> getData();
int getAbundance(int);
+ vector<int> getAbundances();
int numNZ();
void sortD(); //Sorts the data in descending order.
void push_front(int, int, string); //abundance, otu, groupname
vector<individual>::reverse_iterator rend();
void print(ostream&);
+ void printHeaders(ostream&);
RAbundVector getRAbundVector();
RAbundVector getRAbundVector2();