This package provides functions for metabolite set enrichment analysis (MSEA) and principal component analysis (PCA), and converting metabolite set list from your own csv files or KEGG's tar.gz files to XML documents. This package is suitable for computation of MSEA for factor loading in PCA.