X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurout.h;h=f58f4e874a7f72961489d7e2651bda651e3d2bb4;hb=a935b75dd890da5ae7f09e5e6179f90ab2955348;hp=77b1b6d4ec1efb758973d332aa8e4df00619f58b;hpb=b25ede2ad307ae76f8a610443e0ec3ec69621ce7;p=mothur.git diff --git a/mothurout.h b/mothurout.h index 77b1b6d..f58f4e8 100644 --- a/mothurout.h +++ b/mothurout.h @@ -93,7 +93,9 @@ class MothurOut { string getRootName(string); bool isBlank(string); int openOutputFile(string, ofstream&); + int openOutputFileBinary(string, ofstream&); int openOutputFileAppend(string, ofstream&); + int openOutputFileBinaryAppend(string, ofstream&); int openInputFile(string, ifstream&); int openInputFile(string, ifstream&, string); //no error given string getline(ifstream&); @@ -136,6 +138,9 @@ class MothurOut { bool isTrue(string); bool isContainingOnlyDigits(string); bool isNumeric1(string); + bool isLabelEquivalent(string, string); + string getSimpleLabel(string); + string findEdianness(); //string manipulation @@ -156,11 +161,14 @@ class MothurOut { map > parseClasses(string); //math operation + double max(vector&); //returns largest value in vector + double min(vector&); //returns smallest value in vector int factorial(int num); vector > binomial(int); float ceilDist(float, int); float roundDist(float, int); unsigned int fromBase36(string); + double median(vector); int getRandomIndex(int); //highest double getStandardDeviation(vector&); vector getStandardDeviation(vector< vector >&);