X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getrelabundcommand.cpp;fp=getrelabundcommand.cpp;h=037cd3ee70b970a7f0ecce05e2e0c073e449562e;hb=9013e13ecfb2fda3c2664a76f76cc99b8c7fa74c;hp=90d084f3e9be3f27f0723f4e5b095bd3cc61a1c7;hpb=cd4c86f68cb53017f0f98a82dd2c2e56a64c67bd;p=mothur.git diff --git a/getrelabundcommand.cpp b/getrelabundcommand.cpp index 90d084f..037cd3e 100644 --- a/getrelabundcommand.cpp +++ b/getrelabundcommand.cpp @@ -244,7 +244,6 @@ int GetRelAbundCommand::getRelAbundance(vector& thisLookUp, //calc the total in this otu int totalOtu = 0; for (int l = 0; l < thisLookUp.size(); l++) { totalOtu += thisLookUp[l]->getAbundance(j); } - relabund = abund / (float) totalOtu; }else if (scale == "averagegroup") { relabund = abund / (float) (thisLookUp[i]->getNumSeqs() / (float) thisLookUp[i]->getNumBins());