public:
Cluster(RAbundVector*, ListVector*, SparseMatrix*);
- virtual void update();
+ virtual void update();
virtual string getTag() = 0;
+ virtual void setMapWanted(bool m);
+ virtual map<string, int> getSeqtoBin() { return seq2Bin; }
protected:
void getRowColCells();
virtual void clusterBins();
virtual void clusterNames();
+ virtual void updateMap();
RAbundVector* rabund;
ListVector* list;
int smallRow;
int smallCol;
float smallDist;
+ bool mapWanted;
+ map<string, int> seq2Bin;
- vector<MatVec> seqVec; // contains vectors of cells related to a certain sequence\r
+ vector<MatVec> seqVec; // contains vectors of cells related to a certain sequence
MatVec rowCells;
MatVec colCells;
ull nRowCells;