A collection of functions for analysing metabolomics data