Novel software-based method to classify structurally similar compounds combined with high performance liquid chromatography-quadrupole time of flight mass spectrometry to identify complex components of herbal medicines.