Robust detection and verification of linear relationships to generate metabolic networks using estimates of technical errors