]> git.donarmstrong.com Git - mothur.git/blobdiff - qstat.h
Revert to previous commit
[mothur.git] / qstat.h
diff --git a/qstat.h b/qstat.h
new file mode 100644 (file)
index 0000000..699ba55
--- /dev/null
+++ b/qstat.h
@@ -0,0 +1,34 @@
+#ifndef QSTAT_H
+#define QSTAT_H
+/*
+ *  qstat.h
+ *  Mothur
+ *
+ *  Created by Thomas Ryabin on 3/4/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+#include "calculator.h"
+
+/*This class implements the q statistic on single group. 
+It is a child of the calculator class.*/ 
+
+/***********************************************************************/
+
+class QStat : public Calculator  {
+       
+public:
+       QStat() : Calculator("qstat", 1, false) {};
+
+       EstOutput getValues(SAbundVector*);
+       EstOutput getValues(vector<SharedRAbundVector*>) {return data;};
+       string getCitation() { return "http://www.mothur.org/wiki/Qstat"; }
+
+private:
+       RAbundVector rdata;
+};
+
+/***********************************************************************/
+
+#endif
+