]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedsorabund.cpp
added concensus command and updated calcs
[mothur.git] / sharedsorabund.cpp
index 36478deab9f91812d44b4a214ea7ff64d037e513..6748bfe86af75f13a5c206577ed5a7f0d51fa6ae 100644 (file)
 
 /***********************************************************************/
 
-EstOutput SorAbund::getValues(SharedRAbundVector* shared1, SharedRAbundVector* shared2) {
+EstOutput SorAbund::getValues(vector<SharedRAbundVector*> shared) {
        try {
                EstOutput UVest;
                UVest.resize(2,0);
                data.resize(1,0);
                
-               UVest = uv->getUVest(shared1, shared2);
+               UVest = uv->getUVest(shared);
                
                //UVest[0] is Uest, UVest[1] is Vest
                data[0] = (2 * UVest[0] * UVest[1]) / ((float)(UVest[0] + UVest[1]));