]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedsobscollectsummary.h
Revert to previous commit
[mothur.git] / sharedsobscollectsummary.h
diff --git a/sharedsobscollectsummary.h b/sharedsobscollectsummary.h
new file mode 100644 (file)
index 0000000..d35a2ac
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef SHAREDSOBSCOLLECTSUMMARY_H
+#define SHAREDSOBSCOLLECTSUMMARY_H
+
+/*
+ *  sharedsobscollectsummary.h
+ *  Mothur
+ *
+ *  Created by Sarah Westcott on 2/12/09.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
+ *
+ */
+
+/* This calculator returns the number of shared species between 2 groups. */
+
+#include "calculator.h"
+
+/***********************************************************************/
+class SharedSobsCS : public Calculator {
+
+public:
+       SharedSobsCS() : Calculator("sharedsobs", 1, true) {};
+       EstOutput getValues(SAbundVector* rank){ return data; };
+       EstOutput getValues(vector<SharedRAbundVector*>);
+       string getCitation() { return "http://www.mothur.org/wiki/Sharedsobs"; }
+};
+
+/***********************************************************************/
+
+#endif