]> git.donarmstrong.com Git - mothur.git/blobdiff - corraxescommand.h
added template=self capability to chimers.slayer, worked on corr.axes and added accno...
[mothur.git] / corraxescommand.h
index 01c8d2bacd223d7c742a28a78fcfa65f91827192..45a2b785401ead3f70bd87ea43777e8db05c5fbf 100644 (file)
 #include "sharedrabundfloatvector.h"
 #include "inputdata.h"
 
+/***************************************************************/
+struct spearmanRank {
+       string name;
+       float score;
+       
+       spearmanRank(string n, float s) : name(n), score(s) {}
+};
+/***************************************************************/
+
 class CorrAxesCommand : public Command {
 public:
        CorrAxesCommand(string);
@@ -28,6 +37,8 @@ public:
        void help();
        
 private:
+       
+       
        GlobalData* globaldata;
        string axesfile, sharedfile, relabundfile, metadatafile, groups, label, inputFileName, outputDir, method;
        bool abort, pickedGroups;
@@ -46,6 +57,7 @@ private:
        map<string, vector<float> > readAxes();
        int calcPearson(map<string, vector<float> >&, ofstream&);
        int calcSpearman(map<string, vector<float> >&, ofstream&);
+       int calcKendall(map<string, vector<float> >&, ofstream&);
        
 };