+ float value = it->first;
+
+ //convert it->first to relative abundance again
+ if (scaler == "log10") {
+ value = pow(10, value) / 100;
+ }else if (scaler == "log2") {
+ value = pow(2, value) / 100;
+ }else { value = pow(10, value) / 100; }
+
+ string itprec = toString(value);
+
+ //set precision of relative abundance to 2
+ int pos = itprec.find_first_of('.');
+ itprec = itprec.substr(0,pos+3);
+