X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=corraxescommand.h;fp=corraxescommand.h;h=45a2b785401ead3f70bd87ea43777e8db05c5fbf;hb=de67504f85e091a3049ef4c5df8e77f7dcb1d814;hp=01c8d2bacd223d7c742a28a78fcfa65f91827192;hpb=136158a07155d3484f9318b553c38e57405f9a3d;p=mothur.git diff --git a/corraxescommand.h b/corraxescommand.h index 01c8d2b..45a2b78 100644 --- a/corraxescommand.h +++ b/corraxescommand.h @@ -15,6 +15,15 @@ #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 > readAxes(); int calcPearson(map >&, ofstream&); int calcSpearman(map >&, ofstream&); + int calcKendall(map >&, ofstream&); };