X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedrabundvector.h;h=664718518e276c7c84984f5c1fe76c9b3bf46523;hp=02dc9f4dad286ae4a200bc000a0dac5a5e3d1f02;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=dbcb14c17c128987e59147f510950f32dbeb6698 diff --git a/sharedrabundvector.h b/sharedrabundvector.h index 02dc9f4..6647185 100644 --- a/sharedrabundvector.h +++ b/sharedrabundvector.h @@ -17,13 +17,13 @@ #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 { @@ -40,6 +40,8 @@ public: int getMaxRank(); string getGroup(); void setGroup(string); + string getBinLabel(); + void setBinLabel(string); int getGroupIndex(); void setGroupIndex(int); @@ -48,6 +50,7 @@ public: individual get(int); vector getData(); int getAbundance(int); + vector getAbundances(); int numNZ(); void sortD(); //Sorts the data in descending order. void push_front(int, int, string); //abundance, otu, groupname