]> git.donarmstrong.com Git - mothur.git/blobdiff - utilities.hpp
added heatmap command
[mothur.git] / utilities.hpp
index 90d10c1cc4e96f34561c37f81738015158957488..d1b32490beca985771529fb0665842109272329b 100644 (file)
@@ -52,6 +52,17 @@ string toString(const T&x){
 
 //**********************************************************************************************************************
 
+template<typename T>
+string toHex(const T&x){
+       stringstream output;
+       
+       output << hex << x;
+
+    return output.str();
+}
+
+//**********************************************************************************************************************
+
 template<typename T>
 string toString(const T&x, int i){
        stringstream output;