1 #ifndef SHAREDSOBSCOLLECTSUMMARY_H 2 #define SHAREDSOBSCOLLECTSUMMARY_H 3 4 /* 5 * sharedsobscollectsummary.h 6 * Mothur 7 * 8 * Created by Sarah Westcott on 2/12/09. 9 * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. 10 * 11 */ 12 13 /* This calculator returns the number of shared species between 2 groups. */ 14 15 #include "calculator.h" 16 17 /***********************************************************************/ 18 class SharedSobsCS : public Calculator { 19 20 public: SharedSobsCS()21 SharedSobsCS() : Calculator("sharedsobs", 1, true) {}; getValues(SAbundVector * rank)22 EstOutput getValues(SAbundVector* rank){ return data; }; 23 EstOutput getValues(vector<SharedRAbundVector*>); 24 EstOutput getValues(vector<SharedRAbundVector*>, vector<string>&, vector<string>); getCitation()25 string getCitation() { return "http://www.mothur.org/wiki/Sharedsobs"; } 26 }; 27 28 /***********************************************************************/ 29 30 #endif 31