scieee AI-readable full text Open interactive document viewer

Development of computational tools for the analysis of 2D-nuclear magnetic resonance data

Pereira, Bruno Miguel Marques

Abstract

Metabolomics is one of the omics’ sciences that has been gaining a lot of interest due to its potential on correlating an organism’s biochemical activity and its phenotype. The applications of metabolomics are being extended as new techniques reveal new information on metabolic profiles and molecules, thus elucidating biological, chemical and functional knowledge. The main techniques that collect data are based on mass spectrometry and nuclear magnetic resonance (NMR) spectroscopy. The last one has the advantage of analyzing a sample in vivo without damaging it and while its sensitivity is pointed out as a disadvantage, multidimensional NMR delivers a solution to this issue. It adds layers of information, generating new data that requires advanced bioinformatics methods in order to extract biological meaning. Since multidimensional NMR has different approaches within itself, the need to estab lish an integrated framework that allows a researcher to load its data and extract relevant knowledge has become more imperative over the years. Also, establishing common data analysis pipelines on one-dimensional and multidimensional NMR remains a challenge in current scientific research hindering reproducibility across research groups. In recent work from the host group, specmine, an R package for metabolomics and spectral data analysis/mining, has been developed to wrap and deliver key metabolomic methods that allow a researcher to perform a complete analysis. In this dissertation, tools integrated in specmine were developed to read, visualize and analyze two-dimensional (2D) NMR. A new specmine structure was created for this type of data, easing interpretation and data visualization. In terms of visualization a novel approach towards three-dimensional environments enables users to interact with their data allowing peak hovering or identification of rich resonance regions. The selection of which samples to plot, when the user does not specify an input, is based on a signal-to-noise ratio scale which plots samples with opposite signal-to-noise ratios. A method to perform peak detection on 2D NMR based on local maximum search was implemented to obtain a data structure that best benefits from specmine’s functionalities. These include preprocessing, univariate and multivariate analysis as well as machine learning and feature selection methods. The 2D NMR functions were validated using experimental data from two scientific papers, available on metabolomic databases and applying the necessary preprocessing steps to compare spectra and results. These data originated two case studies from different NMR sources, Bruker and Varian, which reinforces specmine’s flexibility. The case studies were carried out using mainly specmine and other packages for specific processing steps, such as, probabilistic quotient normalization. A pipeline to analyze 2D NMR was added to specmine, in a form of a vignette, to provide a guideline for the newly developed functionalities.

Full text

i Universidade do Minho Escola de Engenharia Departamento de Inform´ atica Bruno Miguel Marques Pereira Development of computational tools for the analysis of 2D-nuclear magnetic resonance data Master thesis February 2021 iii Universidade do Minho Escola de Engenharia Departamento de Inform´ atica Bruno Miguel Marques Pereira Development of computational tools for the analysis of 2D-nuclear magnetic resonance data Master thesis Master dissertation Master Degree in Bioinformatics Dissertation supervised by Miguel Francisco Almeida Pereira da Rocha Marcelo Maraschin February 2021 COPYRIGHTS DIREITOS DE AUTOR E CONDIC¸ ˜ OES DE UTILIZAC¸ ˜ AO DO TRABALHO POR TERCEIROS Este ´ e um trabalho acad ´ emico que pode ser utilizado por terceiros desde que respeitadas as regras e boas pr ´ aticas internacionalmente aceites, no que concerne aos direitos de autor e direitos conexos. Assim, o presente trabalho pode ser utilizado nos termos previstos na licen c¸ a abaixo indicada. Caso o utilizador necessite de permiss ˜ ao para poder fazer um uso do trabalho em condi c¸ ˜ oes n ˜ ao previstas no licenciamento indicado, dever ´ a contactar o autor, atrav ´ es do Reposit´ oriUM da Universidade do Minho. Creative Commons Attribution-ShareAlike 4.0 International CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0/deed.en iv ACKNOWLEDGMENTS Quero deixar em primeiro lugar o meu agradecimento ao professor e orientador Miguel Rocha, por me ter proporcionado a oportunidade para desenvolver esta disserta c¸ ˜ ao, por toda a forma c¸ ˜ ao instru ´ ıda durante o mestrado, pelo acompanhamento e pelas oportunidades que advieram do trabalho realizado. Quero deixar o meu obrigado tamb ´ em ao Marcelo Marashin, da Universidade Federal de Santa Catarina, pela orienta c¸ ˜ ao referente aos dados espectrais e an´ alise dos mesmos. Em segundo lugar, quero agradecer aos meus colegas de mestrado que ao longo dos ´ ultimos tempos t ˆ em acompanhado o meu trabalho. O ambiente gerado por v ´ os permitiu criar um esp ´ ırito de aprendizagem saud ´ avel e enriquecedor, tanto a n ´ ıvel acad ´ emico como social. A vossa companhia marca desta forma este momento da minha forma c¸ ˜ ao, tornando aqui expl´ ıcito o meu desejo de boa sorte nos vossos percursos. Quero agradecer tamb ´ em ao meu grupo de amigos de longa data por me apoiarem e acreditarem em mim, trazendo sempre uma mensagem de coragem e de esperan c¸ a. De uma forma especial, quero agradecer ao Nuno e ao Bruno que mais diretamente manifestaram esta amizade singular que nos une a todos. Por ´ ultimo e, n ˜ ao menos importante, quero agradecer aos meus pais. Sempre me apoiaram ao longo do meu percurso acad ´ emico com especial aten c¸ ˜ ao neste ´ ultimo ano, com o carinho e amor sempre presentes, tornando-se para mim exemplos de vida. S ˜ ao o meu orgulho pelo esfor c¸ o que fizeram para que eu pudesse atingir este objetivo, e, por isso mesmo, obrigado por estarem ao meu lado nos bons momentos e nos menos bons tamb´ em. v STATEMENT OF INTEGRITY I hereby declare having conducted this academic work with integrity. I confirm that I have not used plagiarism or any form of undue use of information or falsification of results along the process leading to its elaboration. I further declare that I have fully acknowledged the Code of Ethical Conduct of the University of Minho. vi ABSTRACT Metabolomics is one of the omics’ sciences that has been gaining a lot of interest due to its potential on correlating an organism’s biochemical activity and its phenotype. The applications of metabolomics are being extended as new techniques reveal new information on metabolic profiles and molecules, thus elucidating biological, chemical and functional knowledge. The main techniques that collect data are based on mass spectrometry and nuclear magnetic resonance (NMR) spectroscopy. The last one has the advantage of analyzing a sample in vivo without damaging it and while its sensitivity is pointed out as a disadvantage, multidimensional NMR delivers a solution to this issue. It adds layers of information, generating new data that requires advanced bioinformatics methods in order to extract biological meaning. Since multidimensional NMR has different approaches within itself, the need to establish an integrated framework that allows a researcher to load its data and extract relevant knowledge has become more imperative over the years. Also, establishing common data analysis pipelines on one-dimensional and multidimensional NMR remains a challenge in current scientific research hindering reproducibility across research groups. In recent work from the host group, specmine, an R package for metabolomics and spectral data analysis/mining, has been developed to wrap and deliver key metabolomic methods that allow a researcher to perform a complete analysis. In this dissertation, tools integrated in specmine were developed to read, visualize and analyze two-dimensional (2D) NMR. A new specmine structure was created for this type of data, easing interpretation and data visualization. In terms of visualization a novel approach towards three-dimensional environments enables users to interact with their data allowing peak hovering or identification of rich resonance regions. The selection of which samples to plot, when the user does not specify an input, is based on a signal-to-noise ratio scale which plots samples with opposite signal-to-noise ratios. A method to perform peak detection on 2D NMR based on local maximum search was implemented to obtain a data structure that best benefits from specmine’s functionalities. These include preprocessing, univariate and multivariate analysis as well as machine learning and feature selection methods. vii viii The 2D NMR functions were validated using experimental data from two scientific papers, available on metabolomic databases and applying the necessary preprocessing steps to compare spectra and results. These data originated two case studies from different NMR sources, Bruker and Varian, which reinforces specmine’s flexibility. The case studies were carried out using mainly specmine and other packages for specific processing steps, such as, probabilistic quotient normalization. A pipeline to analyze 2D NMR was added to specmine, in a form of a vignette, to provide a guideline for the newly developed functionalities. Keywords: 2D NMR; Metabolomics; Multivariate analysis; Nuclear Magnetic Resonance (NMR); Univariate analysis RESUMO A metabol ´ omica ´ e uma das ci ˆ encias ´ omicas que tem vindo a ganhar muito interesse devido ao seu potencial para correlacionar a atividade bioqu ´ ımica de um organismo com o seu fen ´ otipo. As aplica c¸ ˜ oes da metabol ´ omica est ˜ ao em constante crescimento ` a medida que novas t ´ ecnicas revelam nova informa c¸ ˜ ao sobre perfis metab ´ olicos e moleculares, elucidando conhecimento biol ´ ogico, qu ´ ımico e funcional. As principais t ´ ecnicas para recolher este tipo de dados s ˜ ao baseadas em espectrometria de massa e em resson ˆ ancia magn ´ etica nuclear (RMN). Esta ´ ultima tem a vantagem de analisar uma amostra in vivo sem a danificar e enquanto a sensibilidade da mesma tem sido apontada como uma desvantagem, surge a abordagem de RMN multidimensional melhorando a vers ˜ ao tradicional. Atrav ´ es da medi c¸ ˜ ao de outros n ´ ucleos adiciona camadas de informa c¸ ˜ ao, gerando um novo tipo de dados que requere m ´ etodos bioinform ´ aticos avanc¸ados para se extrair significado biol´ ogico. A exist ˆ encia de v ´ arias abordagens para realizar RMN multidimensional leva ` a crescente necessidade da exist ˆ encia de uma ferramenta que integre este tipo de dados, de forma a permitir ao investigador executar a sua an ´ alise de forma eficaz. Adicionalmente, a consolida c¸ ˜ ao de pipelines comuns para analisar dados de RMN uni- e multidimensional permanece um desafio ` a investiga c¸ ˜ ao cient ´ ıfica, dificultando a reprodutibilidade de resultados por diferentes grupos de investigac¸ ˜ ao. Em trabalhos recentes do grupo de acolhimento foi desenvolvido um package para o programa R focado na metabol ´ omica e na an ´ alise/minera c¸ ˜ ao de dados. Este package, specmine, tem sido melhorado desde o seu desenvolvimento funcionando como uma ferramenta que engloba diferentes m ´ etodos permitindo uma an ´ alise total a um determinado conjunto de dados. Baseado neste package, mais recentemente foi desenvolvida uma plataforma web integrada, WebSpecmine, com o mesmo prop ´ osito que providencia ao utilizador uma interface de utilizador mais f´ acil e amig´ avel. Nesta disserta c¸ ˜ ao, ferramentas que permitem a leitura, visualiza c¸ ˜ ao e an ´ alise de NMR bidimensional (2D) foram desenvolvidas tendo em conta a sua integra c¸ ˜ ao no specmine. Uma nova estrutura foi adicionada ao package, facilitando a interpreta c¸ ˜ ao e esquemetazi c¸ ˜ ao dos dados. Quanto ` a visualiza c¸ ˜ ao, uma abordagem inovadora para ix CONTENTS xvi QUIPU-HSQC QUantItative, Perfected and pUre shifted Heteronuclear Single Quantum Correlation/Coherence Spectroscopy RdF Random Forests RF Radio Frequency RFE Recursive Feature Elimination RMSE Root Mean Square Error ROC Receiver Operating Characteristic RPLC Reversed-Phase Liquid Chromatography SFC Supercritical Fluid Chromatography SFC-MS Supercritical Fluid Chromatography - Mass Spectrometry SNR Signal-to-Noise Ratio STOCSY Statistical Total Correlation Spectroscopy SVM Support Vector Machine TOCSY Total Correlation Spectroscopy TOF Time of Flight TQ Triple Quadrupole UPLC Ultra-high Performance Liquid Chromatography UV-vis Ultraviolet - visible LIST OF FIGURES Figure 1 (a) Liquid Chromatography ( LC )-Nuclear Magnetic Resonance ( NMR )/Mass Spectrometry ( MS ) chromatogram resulting from the elution of the wine phenolic extract. (b) Spectra of the selected rows extracted from (a). Adapted from A. M. Gil, et al.[1]. 6 Figure 2 Graphical representation of a specmine’s dataset structure. Retrieved from C. Costa, et al. [2]36 Figure 3 Overview of WebSpecmine’s implementation and features based on specmine and the tools Shiny, MySQL and Docker. Retrieved from S. Cardoso, et al.[3]. 38 Figure 4 Representation of the structure of Two-Dimensional ( 2D ) data in a specmine dataset. 40 Figure 5 Organization of Bruker files from a 2D metabolomics experiment. Icons designed by DinosoftLabs from Flaticon. 41 Figure 6 Example on a simple vector of how intersection function is implemented on the local max search algorithm. 45 Figure 7 Fast M3S Correlation Spectroscopy ( COSY ) spectra of a tomato fruit pericarp extract (extract 514, 34 days post anthesis) recorded in 5 min at 298 K on 500 (a) and 700 (b) Megahertz ( MHz ) Bruker NMR spectrometers equipped with cryogenically cooled probes, taken from J ´ ez ´ equel, et al.[4]. Plot of the second biological replicate of the same extract on 500 (c) and 700 (d) MHz , using specmine package. 52 Figure 8 Dendrogram plot with development stages as label colors. Data from dataset MTBLS131 after peak detection. 56 xvii LIST OF FIGURES xviii Figure 9 Changes of choline, glutamine, GABA, malate, citrate, sucrose, fructose, and glucose contents throughout tomato fruit development. Results obtained with the fast quantitative COSY at 500 MHz (a–h) and 700 MHz (i–p) on polar extracts. Taken from J´ ez´ equel, et al.[4]57 Figure 10 Changes of choline, glutamine, GABA, malate, citrate, sucrose, fructose, and glucose contents throughout tomato fruit development, using ggplot2 and gridExtra on the data from MTBLS131 and MTBLS132 after peak detection, 500 and 700 MHz , respectively. In this figure, the signal intensity (y-axis) is plotted as a function of fruit development stage (x-axis), for each metabolite in both frequencies. 58 Figure 11 INADEQUATE of one replicate C. elegans endometabolome, retrieved from Clendinen, et al. (a). Plot of the 2D spectra of sample N2 Control WP1 INAD from the endometabolome dataset, using specmine (b). 63 Figure 12 (a) Scores plot from the PCA analysis done by Clendinen, et al, on the endometabolome data. b Scores plot from the PCA analysis for the endometabolome dataset using specmine after peak detection and preprocessing. 67 Figure 13 (a) Scores plot from the PCA analysis done by Clendinen, et al, on the exometabolome data. b Scores plot from the PCA analysis for the exometabolome dataset using specmine after peak detection and preprocessing. 68 Figure 14 Scores plot from the PCA analysis for the exometabolome dataset without second replicate, using specmine after peak detection and preprocessing. 69 LIST OF TABLES Table 1 Metabolite quantification tools. 26 Table 2 UF COSY NMR peaks used for the quantification of the 8 targeted metabolites. Adapted from J´ ez´ equel, et al.[4]. 53 Table 3 Number of samples for which peaks were detected using specmine’s function for Two-Dimensional Nuclear Magnetic Resonance Spectroscopy ( 2D-NMR ) spectra. Accounted peaks with reference +/−0.10 Parts per Million (ppm). 54 Table 4 ANOVA results from dataset MTBLS131 after peak detection with development stage metadata. 55 Table 5 t-test results from Endometabolome dataset after peak detection and preprocessing with Temperature metadata. 65 Table 6 t-test results from Exometabolome dataset after peak detection and preprocessing with Temperature metadata. 66 xix 1 INTRODUCTION 1.1 CONTEXT Metabolomics is a field of omics science that investigates the activity and cellular state through the study of small molecules known as metabolites [5]. It involves the quantification of low molecular weight ( < 1000 Da) biomolecules produced by cells, i.e., the quantification of the metabolome. These metabolites serve as direct signatures of biochemical activity within biological systems, providing an easier correlation with phenotypes [5]. In this sense, the characterization of the metabolome has gained more interest in several biomedical areas, being used, particularly, for diagnosing diseases, understanding disease mechanisms, identifying novel drug targets, customizing drug treatments and monitoring therapeutic outcomes [6,7]. Nevertheless, there are other emerging applications such as biomarker discovery, food authentication and chemical characterization [7, 8]. Metabolomics studies can be divided into two categories, targeted metabolomics and untargeted metabolomics. The first attempts to describe a specific class of metabolites resulting in a higher sensitivity, caring with the quantification of the sample, whilst the other provides an identification of new compounds from a broader observation of metabolites [6]. 1 1.1. Context 2 The analytical techniques used in metabolomics are usually LC or Gas Chromatography ( GC ) coupled with MS , Infrared Spectroscopy ( IR ), Raman and NMR [6]. NMR detects molecular features by measuring an intrinsic magnetic property of the atomic nuclei that encodes information about the chemical environment, and thus its molecular structure [9]. MS is based on the principle that molecules can be ionized and sorted by their mass. Overall, NMR -based approaches are the gold standard in terms of structural eludication, biomarker detection or targeted metabolomics since reproducibility, easier sample preparation leading to low-cost studies and versatility are key advantages[9]. Despite NMR being less sensitive than MS , recent advances adding additional dimensions through different properties allows NMR techniques to push through in the field of metabolomics. Regardless of the technique used, there are lots of data generated by these platforms that need to be preprocessed and analyzed in order to infer biological meaning. Nowadays, there are a lot of available tools for metabolomics data analysis. They differ regarding the origin of the data, mainly NMR and MS data[10], and the methods to perform certain preprocessing steps. Basic steps of data preprocessing include peak alignment, peak filtering, peak identification and metabolite identification [10]. In Metabolomics Society website http://www.metabolomicssociety.org, it is possible to access different software ranging from spectral alignment tools to data handling in metabolic fingerprinting studies. Nevertheless, the main common features of these tools are their free availability (open-source) and web-based services. Tools and software to analyze multidimensional NMR , such as, ChemoSpec2D[11], rNMR[12] and MetaboMiner[13] have novel functionalities that close the gap on sensitivity and overlapping resonances[9]. MetaboAnalyst is a web application to analyze metabolomics data and it is considered the most comprehensive tool with the option of structuring a code based pipeline since they have an R package (MetaboAnalystR)[14]. In recent work from the host group, specmine, a metabolomics and spectral data analysis/ mining framework, in the form of a package for the R system, has been 1.2. Objectives 3 developed to address some of the issues involving the reproducibility of data analysis, the lack of frameworks to extract important information from metabolomics data, as well as their integration with previous knowledge [2]. This work aims to develop tools, integrated with specmine, that allow reading, visualization and analysis of 2D-NMR metabolomic data. 1.2 OBJECTIVES Considering the context above, the aim of this work is to explore and extend the functionalities of the R package specmine developed to process and mine metabolomic data, namely addressing datasets of 2D-NMR , validating with case studies from experimental data. The functionalities addressed will be related to data reading, visualization and analysis, establishing a pipeline for this type of data. This will encompass, in more detail, the following technological/scientific goals: • Review the state of the art in metabolomics, with special focus on NMR techniques, and methods/tools for metabolomic data analysis; • Extend the functionalities of specmine and related tools, integrating novel features for 2D-NMR data analysis, including a standard workflow to analyze this type of datasets; • Validate the functionalities developed with real-world case studies, highlighting specmine’s capacity of reproducibility towards metabolomics; • Write the thesis and related publications with the obtained results. 1.3. Structure 4 1.3 STRUCTURE The present dissertation is divided into five chapters. The first one is an introductory one where the context is given alongside the motivation and the objectives aimed for this work. The second one gives insight on the state of the art of metabolomics including the principal NMR techniques used in the area, the preprocessing steps needed to follow a correct data analysis and the tools and methodologies needed to retrieve relevant information with biological meaning. The following chapter describes the development strategy and the tools used on the present work to implement 2D-NMR spectra handling functions as well as establishing a pipeline for its analysis. They are complemented with detailed information on how they were integrated with specmine in order to close this gap on the package and extended tools. The fourth chapter presents two case studies to show the applicability and flexibility of the methods developed. A brief introduction starts each case, followed by the results obtained using the tools developed as well as their interpretation in the context of each case’s problem. Since both case studies’ analysis are structured in the same way, a pipeline for this type of data was created in the form of a vignette. The fifth and final chapter provides the main conclusions from this work and an insight on future work that could be done to extend specmine’s functionalities or to establish a new package, based on specmine, for 2D metabolomic data. 2 S TAT E O F T H E A R T This chapter covers the state of the art in the field of metabolomics regarding its techniques with special focus on NMR , as well as the processes for the quantification of metabolites in NMR and the detection of biomarkers from the data generated by those technologies. 2.1 NUCLEAR MAGNETIC RESONANCE 2.1.1 1D-NMR SPECTROSCOPY Together with Liquid Chromatography - Mass Spectrometry ( LC-MS ) and Gas Chromatography-Mass Spectrometry ( GC-MS ), NMR completes the set of the most used anaytical technologies in today’s metabolomics [9]. Certain nuclei of those presented in a sample have the right magnetic properties making the basis for this technology: an odd or an even mass number, but an odd atomic number [15]. These special nuclei have a nuclear spin allowing them to be associated to a nuclear magnetic moment that interacts with the external magnetic field, β0 , applied by the NMR instrument. It is this interaction that is studied by NMR [16]. The nuclear spin is characterized by a quantum number, I, and this number has an influence in the produced spectra, i.e. an I>1/2 producing broad lines [17]. There is also a magnetic quantum number,m 1 , that indicates the number of energy states the nuclei has, which can be calculated by the formula 2I+1[15]. The application of β0 allows the separation of these states, and transitions between them can be accomplished through a photon in the Radio Frequency ( RF ) region leading ultimately to the slope of magnetization making it oscillate inducing a voltage, also called the Free Induction Decay ( FID ), which is then converted to a NMR spectrum using a Fourier Transformation (FT) [16]. 5 2.1. Nuclear Magnetic Resonance 12 ingredient samples to distinguish responses, without prior chromatographic separation [53]. Multidimensional NMR is also a partial solution to fight the principal disadvantage of NMR , sensitivity, through the addition of chemoselective isotope labels, reacting with specific groups [54]. A larger magnetic field brings higher costs in an NMR experiment but can enhance the sensitivity and resolution of the final spectra. When employing a multidimensional experiment, the key is time because they require longer acquisition times due to sampling along with indirect frequency dimensions [54]. Recent advances in NMR metabolomics Another way to fight the lack of sensitivity is through Dynamic Nuclear Polarization ( DNP ) methods in which the sample to be analyzed is previously frozen, submitted to microwave radiation and then melted to be transferred to an NMR spectrometry[55]. In the radiation step, the free-radicals presented in the microwaves induce a transfer of polarization from electrons to nuclei that is caused by the temporary hyperpolarization on spin-active nuclei, which results ultimately in over 10.000-fold increased sensitivity [56]. Another aspect to be improved in NMR metabolomics is the detection of low-concentrated metabolites, that are being acknowledged to be diagnostic biomarkers as important as high-abundance metabolites and yet only a few hundred have been detected in human fluids metabolomes (such as urine, CSF and serum) [9]. Besides DNP , which is a hyperpolarization method, fast NMR methods are also a new approach to NMR in the field of metabolomics [9]. As said before, multidimensional approaches usually take longer acquisition times, which is the disadvantage of 2D-NMR experiments, for example. Nonlinear sampling ( NLS ) is one of the methods that can ease the acquisition time by reconstruction of a complete spectrum from only a small number of optimally selected experimental data points, using nontraditional schemes, such as nonlinear FT , to process signals [57]. Another fast approach to 2D methods is Hadamard spectroscopy, in which direct irradiation at signal-bearing sites is done based on Hadamard matrices, encoded in multiplex excitation schemes that generate signals that need to be decoded using the same scheme [58]. Ultrafast 2D-NMR is based on the principle that a sample can be divided into slices, where different evolution periods are experimented simultaneously by the active nuclei on those slices in the same scan, being the signals processed by specific software capable of creating the 2D-NMR spectrum [59]. According to Emwas et al. [9], the majority of these methods are difficult 2.2. Data Preprocessing 13 to implement in high-throughput metabolomic studies because they are not particularly quantitative, being ultrafast 2D-NMR the one that, together with hyperpolarized NMR techniques, holds the most promise for NMR-based metabolomics. Recent food-related studies have been done using NMR -based approaches to characterize samples, evaluating the metabolic profiles or establishing new biomarkers. Blakebrough-Hall et al. [60] identified phenylalanine, lactate, hydroxybutyrate, tyrosine, citrate and leucine as high-importance metabolites to classify blood samples from animals that have or do not have Bovine Respiratory Disease. To prevent adulteration and to assure quality of sesame seeds, the development of a discrimination model and potential biomarker investigation for differentiation of the geographical origin was performed using NMR -based metabolic profiling [61]. Yang et al. [62] investigated the effect of wooden breast myodegeneration on the metabolite profile of chicken meat and found that WB-affected samples showed higher specific metabolites (such as leucine, valine, taurine and glutamate) and lower levels of other metabolites (such as histidine, creatine, acetate and serine), using 1 H NMR . Very recently, NMR -based metabolomics approaches have been used in areas, besides food-related ones, such as hazardous materials [63], environmental pollution [64] and biomedicine and pharmacotherapy [65]. 2.2 DATA PREPROCESSING Preprocessing techniques are tasks performed to datasets to prepare them for knowledge extraction. These tasks intend to reduce data size, remove outliers, treat missing values, extract features, normalize data and transform them[66]. In order to achieve such objectives operations that clean, integrate, transform and reduce data have to be done. This supports that data preprocessing is a critical step in any metabolomics pipeline because raw data is usually complex and needs to be eased for subsequent data analysis and interpretation [67]. 2.2.1 MISSING DATA AND OUTLIERS The process to clean data is the first step in preprocessing, which normally detects incomplete records with missing values, atypical and inconsistent data points [66]. Missing data can occur mainly through three mechanisms [68] that characterize their produced missing values: 2.2. Data Preprocessing 14 • missing completely at random - missing values are randomly distributed in a data matrix and do not depend on the known values [69]. • missing at random - missing values have an association due to possible variable dependency to other known variables (X) but not to response variables (Y) [70]. • not missing at random - there is a pattern and dependency within missing values in a variable. The dependency can be related to values on other variable and on the value of the missing data itself. There is no consensual method to treat these missing values[71]. Since data collection is expensive there are two categories of methods to handle missing data: deletion and imputation methods [72]. However, based on the work of Kapil[71], there are different categories of methods to handle missing values, having the imputation ones a lot of variations, such as parameter estimation approaches or machine learning models. For data deletion there are two methods commonly used: listwise deletion and pairwise deletion[72]. Listwise deletion discards observations on one or multiple variables that have missing values. On the other hand, pairwise deletion only excludes missing data from variables when they are used in a statistical procedure. However, this method has limited application due to similar results when compared with listwise deletion and it is not supported in many statistical packages [72]. There is also an option to delete based on the extent of the missing values which means that if a feature or an observation have a high share (e.g. over 5 per cent) of missing values they can be discarded [71]. As for data imputation, there are a lot of methods to treat missing values. Mean imputation estimates the mean and can be done on numerical data to replace the missing values [71]. This method excels when dealing with continuous variables that are not related to other independent variables because the estimation performed does not affect other cases not leading to efficiency loss [73]. It is also possible to replace the missing value by estimating the median or other statistical measures. There is also the K-Nearest Neighbour ( KNN ) Imputation method to estimate and substitute missing data, by taking into account K number of observations that share similarity to the missing value considering other variables [71,74]. KNN imputation can treat continuous and categorical missing data by considering the most frequent and the mean of the values in the k nearest neighbour, respectively[71]. Also, it takes into consideration the data structure and does not need to create a predictive model [75]. There are also Regression 2.2. Data Preprocessing 15 methods, using predictive models, that take the observed data as input variables to create the model and a replacement for the missing value is predicted as a response variable [76]. The parameter estimation methods includes expectation maximization, maximum likelihood and Bayesian estimation and are more complex and considered to be more accurate than the previous ones [71]. Expectation maximization has two stages wherein the first it begins by estimating missing values based on observed data and the parameters underlined whereas in the second the values estimated are imputed to maximize the likelihood function to obtain new parameters for the next iteration [71]. The other two are model specific methods that try to optimize model parameters through complete data likelihood. All methods within parameter estimation are best used when the missing data is missing at random [71]. Outliers are data values that behave differently in comparison to other data values and are intended to be deleted for further analysis because on their own they can influence statistical metrics and univariate analysis. Outliers can emerge from different sources such as human error, instrument error or faults in systems and its detection has different methodologies based on statistics, neural networks, machine learning (with decision trees) and even hybrid systems [77]. 2.2.2 SPECTRAL PREPROCESSING Spectral preprocessing is a key component in metabolomics because the instruments from MS and NMR techniques generate background noise, peaks that are not related to the biological sample and systematic variations to data [67]. To fix these issues, a set of preprocessing techniques can be applied to this type of data such as noise filtering, peak detection, deconvolution, deisotoping, alignment and normalization [67]. In NMR metabolomics, it is necessary to retain that the spectrum has to be transformed from FID into frequency spectra leading to preprocessing steps of zero-filling, apodization, Fourier transformation and phase correction before the techniques previously stated [78]. When analysing a biological sample in MS , there is a lot of background signaling coming from two sources, electronic and chemical. Electronic noise is a natural characteristic form the mass spectrometer and it is constant throughout the experience, whereas chemical noise originates primarily from the entire chromatographic system being the column bleeding or the presence of contaminants in the mobile phase the 2.2. Data Preprocessing 16 main causes [79]. In a NMR experiment, the electronic component can also take part in producing noise, but the chemical noise has the most influence in the spectra itself. Sample parameters such as pH, salt type, salt concentrations, presence of paramagnetic ions, solvent chosen and dissolved oxygen content are just examples of causes to create noise and to induce variations on the spectra [80]. So, the process to filter the noise aims to eliminate spectral information non-related to the biological sample analyzed to clear the signal coming from the compounds presented there [67]. Peak detection is performed with specific algorithms that usually analyze each sample spectrum individually [81]. This process is comprised by two analytical steps: spectra smoothing and the actual detection [82,83]. Smoothing a spectra intends to modify individual data points that are higher and/or lower than the immediately adjacent points, reducing and/or increasing them, respectively [84]. This aims to reduce the high frequency noise, as well as maintaining the ones with low frequency, thus improving the Signal-to-Noise Ratio ( SNR ) always depending on the frequency distribution of the noise [84]. These steps can be done by different filters such as Gaussian, Savitzky-Golay and moving average [83]. Despite higher computation time, Wavelet transform-based filters have higher performance because they can handle the usual unequal peak widths in metabolomic spectra [82]. SNR compares the level of a desired signal to the level of background noise [85] and has an important role in peak detection. These algorithms use local SNR , depending on the peak amplitude relative to the surrounding electronic and chemical noise levels as a reference and if there is a local maximum, above a certain threshold [86]. There is an opportunity to apply the threshold to other parameters (i.e., intensity, area of each peak) [83] and, in studies with a large number of samples, a frequency filter can be applied to peaks, being selected peaks that appear in a certain percentage of samples [82]. Deconvolution is a signal processing technique that allows to decompose a spectral region with multiple peaks by the relative area corresponding to each individual peak[82]. To be able to decompose such region, prior knowledge of the compounds in the mixture is needed (from a template library), so this technique is useful in targeted metabolomics [82]. For NMR data, the methods available are based on Bayesian model selection being Bayesian Automated Metabolite Analyser for Nuclear Magnetic Resonance spectra ( BATMAN )[87] one of the open-source, user-friendly interfaces most frequently used and with very similar performance compared to NMR Suite (Chenomx Inc., Edmonton, AB, 2.2. Data Preprocessing 17 Canada [88]), a proprietary software package and gold standard for NMR metabolomics [82]. 2D-NMR provides the means to treat signal overlapping, which means an accurate identification and quantification of metabolites is possible using this technique. However, there is not a software that can provide a framework for the complete analysis of these spectra, being flexible for different 2D techniques and providing means to ease chemometric and quantifying methods. This task is particularly hard because each 2D experiment has specific data projected to the second dimension that is influenced by magnetic resonance characteristics. In addition to this, 2D-NMR has its own disadvantages which are being overcome with the recent advances in the area [9]. The process of spectral alignment allows for the correct position match of peaks, that belong to the same metabolic feature, in a multiple spectra study [82]. This is specially useful for metabolite identification and biomarker selection, because we cannot have variability on the position of peaks when they are associated within multiple spectra and to samples, leading to false biological meaning. The peaks suffer this change in position due to non-linear shifts and depending on if the study is NMR -based or MS -based, the causes to those shifts are different [82]. Non-linear shifts in NMR -based studies occur in the ppm axis and they are caused by ionic strength, pH or protein content [88], whereas in MS -based they occur in the retention time axis resulting from changes in the stationary phase of the chromatographic column [89]. Spectral alignment algorithms can be done before (spectral alignment methods) or after (peak-based alignment methods) the peak detection phase. The former use segments for the alignment, whereas the latter ones use peak coordinates [82]. Spectral alignment methods are classified into warping and segmentation methods, where the first applies a non-linear transformation to the respective axis (ppm for NMR and retention time to MS ) and the second one applies a constant shift to all spectral points [82]. Warping methods aim for a correlation maximization between spectral segments by stretching or shrinking these segments, being correlation optimized warping and dynamic time warping the most commonly used and based in dynamic programming [90]. Segmentation methods also aims for correlation maximization between spectral segments but their segments are originated from spectra splits or they just consider the overall spectra, being the Icoshift algorithm [91] one of the commonly used and usually combined with automatic segmentation methods [92]. 2.3. Metabolite Quantification with Nuclear Magnetic Resonance 18 Peak-based methods are implemented in the XCMS software [93] and the algorithm computes, through a kernel density estimator, the retention time boundaries of the observed peaks to identify the ones that share the same metabolomic feature on different samples [82]. Data normalization is generally required to highlight biological differences in complex biofluids where there is a high entropy of metabolite concentration, in order to remove systematic biases [82]. It is defined as a row operation applied to each sample and allows all samples to be comparable to each other [94]. Regarding metabolomics data, there are numerous methods to normalize data, that can be grouped into two classes [95,96]. The first class intends to reduce heteroscedasticity among metabolites and the second intends to remove sample-to-sample variations [97]. There are also normalization methods based on internal standards and/or quality control metabolites that are capable to remove unwanted variations [98]. There is also a method of normalization that sets each observation (spectrum) to have unit total intensity by expressing each data point as a fraction of the total spectral integral, also known as normalization to a constant sum [94]. This normalization method is specially useful to approximate the relative concentration of species in a series of spectra with highly similar internal peak ratios and differences in total intensity [94]. 2.3 METABOLITE QUANTIFICATION WITH NUCLEAR MAGNETIC RESONANCE Metabolite quantification, in general, is tightly related to metabolite identification, since both concepts are usually mentioned together and in some extent they both share similar methodologies, such as comparing experimental data to a reference [9,99,100]. Metabolite identification and quantification is possible in NMR due to the underneath principle that the observed spectrum is the sum of individual spectra for each of the metabolites presented in the sample analyzed [100,101]. Each metabolite is then characterized as a set of peaks which are defined by three parameters (height, center and width) that are constant across different spectra of the same frequency, where concentration scales linearly with height [102]. There are different ways to perform metabolite quantification in NMR metabolomics, while their basis is usually the same which is comparing the NMR experimental spectrum to a spectral reference library, also called as targeted profiling [88]. The process involves 2.3. Metabolite Quantification with Nuclear Magnetic Resonance 19 matching and fitting the reference peaks to the sample peaks (should be in the same or similar acquisition standards) which enables identification and quantification at the same time [100]. This methodology requires precise sample control, curve-fitting software and databases with pure metabolite information (including pH values and spectrometer frequencies used in data collection) [100]. Targeted profiling means that absolute metabolite quantification happens in targeted metabolomics, which aims to analyze a set of known metabolites, whereas in untargeted metabolomics the quantification procedure is relative (since there may not be a reference to compare) and aims to provide hypothesis for future investigations [103]. To optimize quantification processes efforts have been made to fully automate curve-fitting software and build comprehensive and complete databases [100]. Accordingly to C. Zheng et al. [99] there are three broad categories that classify the means to obtain metabolite concentrations: binning, curve-fitting without a database and curve-fitting with a database. Binning is the process of partitioning the spectrum into individual equally or variablysized contiguous segments, called bins, allowing for specific regions to be omitted thus reducing NMR spectra complexity and providing descriptors for further analysis [104]. These bins have their intensity (total Area Under the Curve ( AUC )) measured and averaged to isolate distinct resonance signals and to be integrated for metabolite quantification [99,100,105,106]. However, integrated intensity values of bins do not represent an individual metabolite due to overlapping peaks, chemical shift variations across samples, signal contamination and even fluctuations across bin boundaries that may lead to incorrect intensity values on adjacent bins [99,105,106]. These characteristics along with the lack of biological interpretability and improvements on software supported the development of deconvolution techniques to replace binning[9, 105]. Curve-fitting without a database attempts to recover non-negative source signals from individual metabolites directly from the spectra through algorithms [99]. To perform an accurate curve-fitting process, the spectra has to be phase and baseline corrected since water signals and metabolites itself can create phase distortions or non-zero baselines [100]. As said before, NMR spectra can be viewed as a linear combination, with unknown proportions, of individual spectra from each metabolite. Thus, specific algorithms (usually Non-negative Matrix Factorization ( NMF ) methods) are able to untangle this combination 2.3. Metabolite Quantification with Nuclear Magnetic Resonance 20 and provide each metabolite’s spectrum [99]. Bayesian spectral decomposition is a probabilistic approach that uses Markov Chain Monte Carlo ( MCMC ) to sample from the possible solutions to obtain a small number of basis spectra with their localized amplitudes [107]. It was successfully used to perform deconvolution in 1 H NMR spectra of urine rat samples, to understand metabolites involved in liver toxicity after an administration of the hepatotoxin hydrazine [108]. With time, new methods incorporating Bayesian approaches to identify and quantify metabolites have emerged, that will be presented later since they are based on curve-fitting with a database. Alternating least squares [109] was another NMF algorithm aimed at decomposing the data matrix as a product of a scores (concentration) matrix and a loadings (component spectra) matrix, estimating initial values for those matrices and executing a while loop until convergence. P. Soininen et al. [110] developed an integration strategy based on constrained total-line-shape fitting, using an optimization problem by minimizing the residual sum of the squares between the line-shape function [111] (sum of Lorentzian, dispersion, Gaussian and dispersive Gaussian functions) and the observed spectrum. Curve-fitting with a database is the method that was above mentioned and enabled simultaneously metabolite identification and quantification. It interprets, usually 1 H NMR spectra, as linear combinations of reference peaks that are available in a library [100]. This method is the one that provides both interpretability and accuracy on obtaining real metabolite concentrations and for a long time they were performed manually which was inefficient [99]. Speeding up the process of deconvoluting an NMR spectrum and fitting reference spectra to it has been an active research area in NMR -based metabolomics [112], so numerous tools have been developed, the first one appearing in 2001 [113]. NMR Suite (Chenomx Inc., Edmonton, AB, Canada [88]) is a well-known commercial software that allows users to estimate metabolite concentrations with a comprehensive database, through manual deconvolution. Its accuracy is dependent on the correct peak assignment by spectroscopists which requires expertise and may lead to errors [106]. AMIX (Bruker) is another commercial spectral deconvolution software that is making advances in semiautomatic approaches for high-throughput analysis [114]. Recently, Bruker presented WineScreener and JuiceScreener, two commercial software tools to perform automated deconvolution on NMR spectra of wines, juices and honey. However, they require specifications on the NMR spectrometer which makes them expensive [114]. As any 2.3. Metabolite Quantification with Nuclear Magnetic Resonance 21 given commercial software, its cost implies a great investment so research groups started to develop their own deconvolution and quantification approaches [100]. 2.3.1 TOOLS FOR 1D-NMR SPECTRA ANALYSIS IN METABOLOMICS a ( BQuant )[99] is an R package that identifies and quantifies metabolites in a fully automated way, based on a Bayesian model selection and a database of candidate metabolites. It models the observed spectra as a combination of reference signals and candidate metabolites are viewed as variables, which are then submitted to a stochastic search to find highly likely matches [99]. Despite its good reported performance compared to the existing automated approaches by the time it was developed, BQuant has not been widely applied to NMR metabolomics, specially to cellular extracts and culture media [115]. This may be justified due to the prior requisites before identification and quantification, such as pre-aligned and partitioned into bins spectra, and due to peak shifts that are also not incorporated that influence overlapped peaks and quantification [87]. One of the well-known and open-access programs, also based on Bayesian approach, aimed specifically for an automated quantification of metabolites, was BATMAN [87]. It only focuses on 1 H NMR spectra and is available as an R package. BATMAN models the NMR spectrum as a two-component joint equation, where metabolite peaks are interpreted as catalogued if their characteristic patterns are known to the user and uncatalogued otherwise [87]. The catalogued peaks are modelled as a sum of all the template metabolites’ resonance information (chemical shifts, J-couplings and intensity ratios) which is obtained from the Human Metabolome Database ( HMDB ) (having a freely available file with around 2500 peak patterns, corresponding to 600 metabolites [116]) and used to construct a spectrum that fits the data [117]. The uncatalogued peaks are modelled as a linear combination of wavelet functions that can be characterized by a probability density model whose distribution is further modelled by a truncated Gaussian that connects global precision to each wavelet [87]. A MCMC algorithm samples from the joint posterior distribution of the model parameters, with block updates and adaptation to peak shifts that are described in Astle et al. [106]. An advantage of BATMAN is its flexibility and adaptability since the user can set up prior spectra information deciding which resonance to fit and allowing for different spectra from different spectrometers to be integrated [105,115]. BATMAN was successfully 2.4. Biomarker discovery 28 data [149]. In order to do this, multidimensional data is reduced by creating new variables, called Principal Components ( PCs ), which result from linear combinations of the original variables and are orthogonal to each other [151]. These new variables are intended to explain the maximum amount of variance, not accounted for previous PCs [152]. When we perform PCA , two new matrices are created, scores and loadings, and they enable the interpretation of how spectra are related to each other and which variables contributed the most to principal component’s variance, respectively [148,151]. Usually, scores are plotted to evaluate the scatter of the samples and if they are clustered together they have similar metabolomics compositions, otherwise they are characterized by different properties. Clustering in these circumstances should be evaluated through loadings since potential biomarkers are normally characterized for having high variance. However, this does not guarantee a relevant biomarker and further statistical validation is required [148]. Clustering methods, such as Hierarchical Clustering ( HC ) or K-means, intend to subgroup heterogeneous data so that each subgroup has high homogeneity, through a measure of similarity [154,155]. HC requires the user to choose the distance metric by which similarity will be calculated and the function that will link clusters, having both choices influence on the dendogram structure [151]. On the other hand, K-means only needs to be given an integer number, k, that defines the number of clusters that will be formed [155]. Clustering methods should be combined with PCA to provide an unbiased mechanism of analyzing groups of metabolites that share similar metabolic content, thus providing potential sets of biomarkers [148]. Regarding NMR , Statistical Total Correlation Spectroscopy ( STOCSY )[156] is a method applied to complex 1D-NMR spectra to retrieve more information regarding spectral peak intensities [148]. It is based on a correlation matrix between all intensities of the NMR spectra and this matrix can then be plotted achieving a graphical representation similar to TOCSY , a 2D correlation NMR experiment on one sample [151]. STOCSY has numerous applications, such as, drug metabolite identification in human urine samples [156], crossexperiment analysis ( NMR and MS simultaneously) [157], clustering combination for higher accuracy between peaks from the same molecule [158] and supervised technique combination for relevant metabolite signature linkage [156]. Unsupervised methods do not actually give us information on which metabolites can differentiate classes, but rather an overview of potential groups of metabolites that share similar properties and are somehow correlated, thus the need to combine with supervised 2.4. Biomarker discovery 29 methodologies. Supervised methods can take advantage of these potential groups of metabolites to narrow the variance coming from other sources thus improving their performance and easing computational effort[82]. 2.4.2 SUPERVISED METHODS The objective of supervised methods is to learn patterns and rules from the metabolomic dataset to predict new data, through an input matrix (i.e., NMR or MS spectra) and an output vector of responses (either continuous or discrete data) [151]. These methods rely on feature selection to identify a subset of variables that can discriminate classes with the objective to build a robust model for classification or regression [158]. There are three types of feature selection methods, based on how they are correlated to the model[159]. The first type are the filter methods that select features according to statistical tests independent of the machine learning algorithm, mainly univariate approaches such as Analysis of Variance ( ANOVA ) or chi-square[159]. Since so many tests are performed using, i.e., ANOVA , it is highly recommended a p-value adjustment to detect significant differently expressed metabolites [152]. However, univariate filtering methods do not account for feature dependency leading to worse performances which gave rise to a number of multivariate filter techniques [160]. The second one is named wrapper methods and they select features by training and testing a specific model, starting with a possible set of features and searching the ones that provide the best performance [160]. They are mainly defined by their searching methods that can be divided into three categories: exponential, sequential/deterministic and randomized [159]. Exponential is an exhuastive search that is impractical in metabolomics due to the dimension of the search space[159]. There a lot of different sequential/deterministic approaches being forward selection and backward selection the most well-known [161]. The first begins with an empty set and incorporates features with each iteration whereas backward selection begins with all possible features and eliminates the ones that affect performance the most [161]. There is an instance of backward selection, Recursive Feature Elimination ( RFE ), that ranks features with each iteration providing the user a feature ranking according to the elimination order [162,163]. Randomized approaches perform heuristic searches in the possible feature space[159] through different algorithms such as genetic algorithm[164, 165] and particle swarm optimization. Wrapper methods perform better than filter 2.4. Biomarker discovery 30 methods[159,162], however there is a higher overfitting risk and processing computational demand [160]. The last type of feature selection methods are the embedded ones where the search for the optimal set of features is built into the model construction [160]. Features are selected at the same time that the model is trained easing computational effort and cost while improving model’s performance [159]. This method can thus provide the advantages of the previous methods, the wrapper’s feature-model interaction and the filter’s lower computational demand (higher than filter methods but lower than wrapper ones). There different types of embedded methods being the regularization models the ones that are usually used due to their good performance[161]. Features are associated with coefficients that are forced to be small or zero (eliminating the respective feature) by objective functions that minimize fitting errors [161]. Examples of this models are Lasso Regularization[166], Adaptive Lasso[167], Bridge Regularization[168,169] and Elastic net regularization[170] that are reviewed by J. Tang, et al.[161]. For biomarker discovery purposes, building discriminant classification models is normally the path to go because the problem is based on class membership differentiation [151]. When using supervised classification methods, a fundamental step is validation because models that fit the data perfectly loose the ability to predict correctly new data and, in some cases, they can give a correct classification despite the lack of relationship in the data [151]. Therefore, it is necessary to validate the model’s predictive performance either through cross-validation, double cross-validation, permutation, an external validation set or through a new independent validation set [151]. Since a new set of samples coming from an independent new experiment is rare, the use of an external validation set by means of data partitioning algorithms provide reliable predictive performance results [151]. Besides validation, evaluation of a classification model performance is also a key step when using machine learning approaches. This can be achieved through many ways such as classification accuracy rate, root-mean-squared estimates of model loadings, R2/Q2plot and Receiver Operating Characteristic (ROC) curve analysis [171,172]. ROC curves are a non-parametric measurement utility that assesses the performance through sensitivity and specificity rather than the prevalence of an outcome [173]. These curves plot one minus the specificity on the x-axis and the sensitivity on the y-axis and the classifier potential is often summarized by the AUC [172]. The AUC can be 2.4. Biomarker discovery 31 interpreted as a probability that characterizes the classifier on its instances ranking capability of true positives before true negatives [173]. When taking into consideration AUC analysis in metabolomics Confidence Intervals ( CI ) should be calculated for the probability, since a potential biomarker intends to be applied on a larger population [173]. One way to achieve CI is through bootstrap percentile resampling [174], a method that constructs new samples from the original ones and where the 2.5 and 97.5 percentiles are taken to produce the 95% CI [173]. It has to be taken into consideration that when multiple comparisons are performed, a correction to the CI has to be employed such as Bonferroni or Benjamini-Hochberg False Discovery Rate ( FDR ). Since some machine learning methodologies can compute internal measurements of each metabolite’s importance, it is possible to combine this information with the projection algorithm to produce a ROC curve that enables the selection of a useful metabolite subset [173]. In terms of biomarker performance evaluation, ROC curve analysis is considered to be the go-to statistically valid method [175,176]. Linear methods Partial Least Squares - Discriminant Analysis ( PLS-DA ), the classification approach of the regression technique Partial Least Squares ( PLS ), calculates latent variables (linear combinations of the original variables, similar to PCs in PCA ) that maximize the covariation between observed data and categorical response variables [148,149,151, 152]. Since latent variables come from linear combinations of the original variables, the PLS-DA model can be expressed as Y=Xb +r , where Yis the class membership vector, Xthe data matrix, ba vector of regression coefficients and ra vector of residuals [151]. PLS-DA performs best when the variables are highly correlated and the potential markers can be obtained from latent variables and interpreting their contribution to the variation and correlation within the dataset [149,151]. Despite the better separation of classes done in PLS-DA , compared to PCA , there is still variation present in the scores that is not correlated directly to the response classes [177]. To fix the problem of this direct and indirect correlated variation an orthogonal approach was developed, Orthogonal Projections to Latent Structures ( O-PLS ) [178], later applied to classification problems, Orthogonal Partial Least Squares - Discriminant Analysis ( OPLS-DA ). In order to obtain an orthogonal model, it is necessary to apply an orthogonal signal correction filter, separating variation linearly related to response from the one uncorrelated [177]. So, when the response estimation occurs, only the 2.4. Biomarker discovery 32 variation linearly correlated is used, producing a model with higher interpretability and without structured noise [151]. It can happen that the original dataset has low or none uncorrelated variation naturally, which means the predictive performance of an OPLS-DA will be identical to PLS-DA. Non-linear methods Non-linear methods have been highly considered for pattern recognition due to the fact that biological processes are complex, with interactions that lead to a non-linear metabolic response [151]. They are also capable of being influenced by external factors which are not linearly related to different classes[151]. Support Vector Machine ( SVM ) is a kernel-based non-parametric machine learning technique that can be used for classification and regression problems [179]. It performs a kernel transformation to map data into a high-dimensional space allowing for different group separation [180]. Only a small fraction of the samples are identified, the support vectors, that enable the creation of a discriminative hyper-plane between the two classes [151,180]. Depending on the problem to solve, the kernel transformation applied can be linear or non-linear providing this technique the necessary flexibility to different problems. There are different kernels available, such as, polynomial, Gaussian and sigmoid functions [181]. However, the results are not transparent because there is no easy way to visualize them[180]. SVM allowed for a classification of lung cancer cases versus control with an accuracy of 93.3%, suggesting that blood plasma metabolites analysis through Electrospray Ionization ( ESI )- MS hold clinical potential in early-stage human lung cancer diagnosis [182]. Guan et. al [183] also applied SVM with RFE to LC-MS data in order to distinguish ovarian cancer samples from control, achieving over 90% accuracy. Allied to least squares, SVM with Gaussian kernel was applied to NMR data to classify patients with major depressive disorder achieving an accuracy of 96% in the test set, providing an auxiliary diagnostic tool for this disorder [184]. Random Forests ( RdF ) are a combination of decision trees, that sample different sets of random variables to build them [185]. The method uses bootstrapping with replacement to split the data, getting around 63% of all samples in the training sets and the remain on the test sets [186]. RdF have several advantages as they can be robust to over-fitting and outliers, handle missing data, deal with complex datasets without deleting variables, which results in a highly accurate classifier [180]. There are different 2.4. Biomarker discovery 33 variable importance measures that may differentiate feature selection schemes, i.e., Gini importance and permutation importance[187]. Gini importance demonstrated to be biased when predictor variables vary in their scale or number of categories while permutation importance showed reliability when constructing decision trees based on subsampling wihtout replacement [188]. In 2013, T. Chen et. al [172] compared four classifiers ( PLS , SVM , Linear Discriminant Analysis and RdF ) on discriminating healthy patients versus patients with colorectal cancer from a GC-MS analysis, where RdF had better predictive ability than the other three classifiers. L. Zhao et. al [189] applied RdF models to investigate the syndromes associated to Coronary heart disease in NMR data, achieving a visual discrimination of two syndromes associated with this disease and obtaining twelve metabolites that could be considered as potential biomarkers. 3 DEVELOPMENT This chapter covers the development process of the necessary functions to analyze 2D-NMR spectra that ended with a general workflow for this type of data, available through specmine package in the form of a vignette. Vignettes are long-form documentation guides to packages or even specific problems that the package is intended to solve[190].In this case, a vignette was done to guide the user through the new functionalities developed, regarding data input, visualizing, peak detection and further analysis. All the tools and technologies used to achieve this goal are described, with special focus on the R package specmine, which integrated the work developed and served as a basis for the development. The code was developed using RStudio (version 1.3.1073)[191], an integrated development environment for R and Python. This work can be divided in the following processes of data analysis and structuring: • Representation of two-dimensional data; • Data reading; • Data summary; • Data visualization; • Dimensional reduction. 3.1 specmine In the past few years, the host group developed and improved an R package, called specmine[2], that provides methods for metabolomic data analysis in a user-friendly environment integrating functions from other R packages for a complete workflow. The 34 3.1. specmine 35 package has the capability to read data from different metabolomic techniques such as NMR , MS -based ( GC and LC ), Ultraviolet - visible ( UV-vis ) and IR [2]. This means different file formats are supported through functions from xcms[192] (NetCDF, mzDATA and mzXML data), ChemoSpec[193] for (J)DX data and R itself for Comma (or Tab) Separated Values (CSV or TSV) files[2]. Metadata files can be given to the data reading function in CSV/TSV file format. Independently of the data format, specmine represents a dataset as an R list with several fields that characterize the data, presented graphically in Figure 2. This supports reproducibility in metabolomics as well as flexibility, since it provides the same data structure for different original data formats. The users can then establish their own framework of analysis by performing the necessary preprocessing steps, univariate, principal components, clustering and regression analysis as well as machine learning approaches to build predictive models [2]. It is also possible to perform feature selection to choose a subset of discriminatory variables with biological interest. Metabolite identification is possible through MAIT(https://www.bioconductor. org/packages/release/bioc/html/MAIT.html) which means it is only available for LC-MS data. In terms of visualizing any results obtained, the package implemented base graphic R functions, while, in some cases specmine relies on ggplot2(https: //www.rdocumentation.org/packages/ggplot2/versions/3.3.0). In terms of preprocessing steps, specmine is able to perform treatment of missing values, remove unecessary data or variables (accordingly or not to the presence of missing values), transform data, scaling, correction, smoothing interpolation, conversion of metadata variables to factors, mean centering, subset the dataset by samples and/or variables, data fusion, flat pattern filtering or data/metadata replacement. It is possible to treat a missing value by replacing it with a specific one (user-defined), according to the mean or median of the variables, using K-nearest neighbour averaging or with a linear approximation. One can perform a logarithmic or cubic root transformation. In terms of scaling, there are four options available: auto, range, Pareto and interval. Background, offset and baseline corrections are available and the user can choose the baseline method when baseline correction is desirable. For smoothing interpolation the methods available are Bin, Loess and Savitzky-Golay. Data normalization can be achieved through the median, a reference sample/variable or the sum of a constant (user-defined). Low variance variables can be filtered out by specific functions such 3.1. specmine 36 Figure 2: Graphical representation of a specmine’s dataset structure. Retrieved from C. Costa, et al. [2] as interquantile range, relative standard deviation, median absolute deviation, mean or median using a percentage or threshold given by the user. Using the stats R package, specmine can provide several functions to perform univariate, correlation and regression analysis. The user can execute t-test, one-way and/or multifactorial ANOVA with the Tukey HSD post-hoc test and non parametric tests such as Kruskal-Wallis and Komolgorov-Smirnov. The parametric tests can handle multiple testing providing the ajusted p-values according to the FDR . Fold change analysis can be performed in each variable comparing two groups or in two specific variables for precise analysis and the results can be visualized in tabular and graphical forms. Unsupervised multivariate analysis performed by specmine include PCA and two clustering methods. It is possible to perform classical and robust PCA , using this last one the R package pcaPP[194], and the user can visualize the results through scree plots, scores plots, biplots and pairs plots[2]. Regarding clustering methods, k-means and hierarchical are available with the option to the user to choose the different distance metric in the case of hierarchical one and the number of clusters on the other one. 3.5. Data Visualization 43 f(x) = xi,j σxa,b (1) where, xi,j=      z1,1 z1,2 · · · zi,j z2,1 z2,2 · · · zi,j . . .. . ..... . . zi,1 zj,2 · · · zi,j      a=σi i >15 b=σj j >15 Formula 1: Signal-to-noise ratio of a spectrum. package for R, where a user can create a plotly object and add multiple customizable fields, such as, labels, colors, axes, text annotations, . . . . It was developed a function, plot 2d spectra, that allows the user to visualize a single/group of spectra within the same plot, in an interactive way. Interactivity enables the user to zoom in/out, hover a peak (receiving information regarding its intensity and F1 and F2 dimension indexes), rotate the plot and select which spectra to plot. Besides interactivity, if the user does not give any samples to plot, the function will generate a plot with four spectra, the two with higher and lower SNR. The SNR of a spectrum can be calculated as it shows in Formula 1. It was formulated based on the work of Wang et al.[204], where they related the Coefficient of Variance ( CV ) ( σ µ ) and the SNR in NMR -based metabolomics studies. In their case, they used a specific noise region (9.5 - 10 ppm ) to extract its standard deviation and divide the intensity of a peak by that value. In a generalized case the noise region has to be identified based on the data and it is supported by the literature that noise regions have a high CV (above 15 %)[204–206]. Following this information, noise regions are represented as a subset of the spectra, where ppm values of both dimensions are selected if their CV is higher than 15. Instead of looking for possible peaks across spectra with higher CV (in 2D-NMR metabolomics , combinations of ppm values) it looks for regions of the spectra which is computational quicker and easier to interpret. The mean of intensity values in the spectra is divided by the standard deviation of the calculated noise regions achieving the SNR of a spectra. 3.6. Dimension reduction 44 The function plot 2d spectra can be divided in sections that represent the steps to build the entire plotly object. The first section involves sample selection, whether if it is done through SNR as described above or by user input (either through a character vector with sample names or numerical vector with indexes). The second section is the buttons list building, a necessary list that for each sample selected in the previous section creates a graphical button in the interactive plot, presented as a dropdown menu. The third section adds the selected sample’ spectra into a single plotly object as surfaces and they are colored differently if a metadata variable is given or not. If this variable is not given, each spectrum has a different color. The fourth and last section adds the final layout to the plot, including the title (given by the user), axis names, the dropdown menu with the buttons and the legend. 3.6 DIMENSION REDUCTION Extracting information from the 2D-NMR specmine structure, mentioned in the first section of this chapter, is a computational challenge because any operation iterated over a list of large matrices will take a long time to obtain results. With this in mind the objective of the function peak detection2d is to perform peak detection and build a 1D structured specmine dataset with the combination of ppm values as variables (rows) and samples in the columns. The algorithm to perform peak detection is a search for local maxima, finding points in the matrix that are larger than all surrounding points, taking from the rNMR[12], an open source software for NMR data analysis. The user can establish the degree of a filter that correlates the defined threshold with the points in the spectra, influencing if all/none of the points should be above the threshold or row/column points should be searched for local maxes. The search itself is based on the intersect function, within R base package, where two vectors (in this case, the same matrix with added Not Available ( NA )s) are compared to find points that belong to both vectors. An example of how this function works in the algorithm is represented on 6. It returns a vector with matrix indexes which is further used to obtain the corresponding intensity values and the pair row/column that characterizes the peak. Regarding the threshold, if it is not given by the user, it is determined by calculating the mean of the intensity values of the spectra. For each spectra in the 2D specmine list, a new matrix is built filled with NA s. This will serve as the template for the new 1D dataset because it is easier to work with an 3.6. Dimension reduction 45 x[8 6 3 7 2 9 10 4 1 5] The intersect function will analyse two results of comparisons: NA 8 6 3 7 2 9 10 4 1 5 8 6 3 7 2 9 10 4 1 5 NA Which index values on the upper vector are smaller than the ones on the lower vector? Which index values on the upper vector are higher than the ones on the lower vector? NA 8 6 3 7 2 9 10 4 1 5 8 6 3 7 2 9 10 4 1 5 NA 4 6 7 10 1(2) 2(3) 4(5) 7(8) 8(9) -1 to find common solution Intersect both sets [8 6 372910 41 5] 4 7 Figure 6: Example on a simple vector of how intersection function is implemented on the local max search algorithm. empty matrix rather the original. From the peak list (result of the peak detection phase), each pair (row/column) that had a peak will have its intensity value in the empty matrix on the same pair. This will result in a matrix filled with NA s except on the points that were detected as peaks, for every sample. With the new list of recent matrices it is built a Three-Dimensional ( 3D ) array and columns or rows that have negative ppm values are removed, according to the user input. The 3D array is then converted into a 2D matrix using the function two.d.array, from the R package geomorph[207]. Due to the existence of identical ppm values in different dimensions, it was necessary to establish unique names for the new variables which was possible through the base function make.names. The next step was to remove variables that had an empty expression of peaks, i.e., the row had only NA s throughout the samples. With this step done, it is now possible to create a 1D specmine dataset with the function create dataset. This reduction of dimensionality will allow the use of the already developed functions for 1D datasets which eases the process of 2D-NMR analysis. One has to take into account that the newly created dataset has high percentage of NA s and a method for NA imputation should be used before analysis. 3.7. Further Analysis 46 3.7 FURTHER ANALYSIS After peak detection phase it is possible to apply the functionalities of specmine to analyze the standard 1D-NMR dataset, as mentioned on the last paragraph. In this section, the main options for uni- and multivariate analysis available in specmine will be summarized. In terms of univariate parametric analysis it is possible to perform student’s t-test and one-way and multifactor ANOVA . As for univariate non-parametric analysis it is possible to perform Kruskal-Wallis and Kolmogorov-Smirnov tests. It is also possible to perform fold change analysis on each variable of the dataset and on two specific variables for targeted differences of groups. Despite the test, the option to plot the results, highlighting different features, is always available providing meaningful tools to interpret any approach. Regarding multivariate analysis, the main tool available is PCA . The user can perform either classical or robust PCA which means it has the option to customize how this analysis is conducted, being able to choose how to center and scale the dataset. In terms of visualization there is a wide range of methods to plot the PCA results. Ranging from a scree plot to k-means pairs plot, it is possible to understand the variance explained by each principal component and the contribute of each samples/variable to the result. There are also methods to perform clustering, regression and correlation analysis. The user has the option to perform hierarchical and k-means clustering within the same function, being able to select which metrics to use for hierarchical and the number of clusters for k-means. The methods implemented for regression and correlation analysis allow to test all variables at once and in the case of correlations tests it is possible to visualize the result through heatmap. In more specific cases there are methods implemented in specmine for feature selection and machine learning. The methods are wrappers for functions and models from package caret and there are several customizable options which provides users the tools to try different approaches. 4 CASE STUDIES In this chapter, the new developed functions will be tested with real data, creating pipeline examples of how this type of data can be analyzed, using specmine. The case studies will be divided according to NMR recording instrument. The first case study involves two MetaboLights[208] studies (MTBLS131 and MTBLS132) regarding an absolute quantification experiment of tomato fruit extracts using different frequencies. These will also serve as examples of how further analysis can be done by incorporating both datasets using the frequency as a metadata variable. The second case study is from a Varian Metabolomics Workbench[209] study (ST000103) where a new untargeted NMR approach was applied to compare the exometabolome and endometabolome of worms. Negative chemical shift values are present in both case studies. One of the steps within signal processing is direct current correction which is usually performed by the instrument software. In terms of 2D experiments the multiple FID ’s are short and have fewer data points which means this correction is more challenging and less accurate, causing offsets on chemical shifts[210]. Manual phase cycling procedures before the first FT are recommended to remove offsets[210]. The results presented in this chapter do not include manual processing of these offsets since available data is already processed and remaining chemical shifts should not hinder visualization or analysis. 4.1 TOMATO FRUIT EXTRACTS 4.1.1 INTRODUCTION One-dimensional proton NMR protocols have been widely used as an untargeted approach due to its efficiency and post-analysis comparison[211,212]. However, efficient 47 4.1. Tomato Fruit Extracts 48 discrimination of metabolite quantities is not possible due to signal overlapping and a more targeted strategy (identification and quantification of a low number of metabolites) becomes more reliable when searching for biomarkers[4]. Despite the advantages of targeted approaches on the quantification of metabolites, complex biological samples limit the deconvolution process that allow the necessary fitting of individual metabolite 1D spectra[213]. Complex spectral patterns, lack of universal reliable internal standards, sample size or limited dynamic range are some factors that prevent precise quantification through 1D-NMR and 2D-NMR emerged as one way of reducing spectral overlap[4,214]. The use of 2D-NMR for quantitative metabolomics is hampered by the long experiment duration which can influence unstable samples or provide noisier data and most of them rely on a calibration procedure[4]. Ways to overcome these challenges comes from reducing the acquisition time, using an ultrafast method where a 2D spectrum is obtained from a single scan[26]. This methodology has been evolving during the last decade, in order to provide a higher resolution spectra, emerging new hybrid strategies where singlescan experiments are repeated several times to improve the quality of the spectra[59]. These hybrid strategies have been applied to different studies of metabolomics, such as breast cancer cell extracts[39] or pig lipid serum[215], and guidelines have been made to ease its implementation and use[216,217]. The most simple hybrid approach is the Multi-Scan Single Shot (M3S) acquisition method and by accumulating ultrafast scans over a period of time (determined by the duration of the pulse sequence and the number of accumulations) it is possible to achieve higher sensitivity per unit of time[218]. In the work that originated this case study, M3S COSY experiments were applied to tomato fruit pericarps in order to validate this technique as a method for quantification of major metabolites in biologically relevant samples. Tomato fruit pericarps were chosen as biologically relevant samples because their major metabolites signals’ are overlapped on 1D proton spectra[4], it has a well characterized metabolism[219], its compositional changes across fruit development are also well characterized[220] and it is considered as a model species for the study of fleshy fruits[221]. The authors performed the experiment on two different acquisition frequencies, with calibration standards, to provide insight on the method’s applicability and compare quantitative results regarding key metabolites on different stages of fruit development. The aim of this case study is to access these major metabolites using the functions developed and achieve consistent results with metabolic behaviour of tomato fruit by comparing with the authors’ results. 4.1. Tomato Fruit Extracts 49 4.1.2 2D-NMR DATA The tomato samples (Solanum lycopersicum L. cv Moneymaker) used in this study were harvested at four different stages post anthesis (DPA) and on three different trusses, with three biological replicates for each truss on each development stage. A total of 36 samples were collected and each stage (8, 21, 34 and 55 days) has 9 samples. These 9 samples are divided by the three different trusses (5, 6 and 7). The ultrafast COSY experiments were recorded on two different spectrometers (500 and 700 MHz ), having a final spectral width of 4.5 ppm in both dimensions and 5 ppm (F2) x 5.4 ppm (F1), respectively. The entire data for the experiment is available via MetaboLights under the accession numbers MTBLS131 (tomato samples recorded in 500 MHz ), MTBLS132 (tomato samples recorded in 700 MHz ), MTBLS133 (calibration samples at 500 MHz ) and MTBLS134 (calibration samples at 700 MHz). Using specmine’s function get metabolights files assay it is possible to retrieve all data files from one assay, related to a study. After retrieving data files, using the newly developed function to read Bruker NMR data will generate an output in R identical to the one presented below. Warnings may arise from the lack of a metadata file or the existence of a temporary folder that needs to be replaced when data files are zipped. Reading Metadata file Reading sample P21 . 5 . 1 700 66 i n C:/temp /P21 . 5 . 1 700 66 /66 /pdata /1 Reading sample P21 . 5 . 2 700 67 i n C:/temp /P21 . 5 . 2 700 67 /67 /pdata /1 (...) (...) (...) Creating dataset ( t h i s may take a while) Done . Listing 4.1: Example of an output of correctly read data files in R. 4.1.3 DATA SUMMARY AND VISUALIZATION Initial accessment to the datasets allows to identify their key aspects, both for MTBLS131 and MTBLS132. In the example code below, a description of the dataset MTBLS132 is presented where it is possible to assess the number of missing values, mean, median 4.1. Tomato Fruit Extracts 50 and standard deviation of each sample spectrum. Both datasets were considered valid datasets and none of the samples in each dataset had missing values. Standard deviation values should be high, considering intensity matrices where peak values regarding molecular interactions should be significant to identify spectral metabolite signatures. This condition was validated on both datasets which will increase the quality of peak detection. Dataset summary: Valid dataset Descripti on : MTBLS132 −700 MHz tomato samples Type of data : 2d−nmr Number of samples : 36 Number of data points 524288 Number of metadata vari a bles : 2 Label of x−axis values : ppm Label of y−axis values : ppm Label of p a ir ’ ( x , y ) values : i n t e n s i t y Number of missing values in data : P21 .5. 1 700 66 P21 .5. 2 700 67 ( . . . ) 0 0 P34 .5. 3 700 68 P34 .6. 1 700 66 ( . . . ) 0 0 (...) (...) Mean of data values : P21 .5. 1 700 66 P21 .5. 2 700 67 ( . . . ) 9354.143 9426.771 P34 .5. 3 700 68 P34 .6. 1 700 66 ( . . . ) 11636.760 11302.586 (...) (...) Median of data values : P21 .5. 1 700 66 P21 .5. 2 700 67 ( . . . ) 183.9023 207.4102 P34 .5. 3 700 68 P34 .6. 1 700 66 ( . . . ) 211.2031 213.7734 (...) (...) Standard dev i a tion : P21 .5. 1 700 66 P21 .5. 2 700 67 ( . . . ) 99801.96 99816.54 P34 .5. 3 700 68 P34 .6. 1 700 66 ( . . . ) 123293.76 119494.93 4.1. Tomato Fruit Extracts 51 (...) (...) Listing 4.2: Example of a 2D dataset summary. In terms of data visualization, the sample spectra corresponding to extract 514 was used to assess the capabilities of the developed function. Figure 7shows the direct comparison between the reference spectra obtained by the authors for both frequencies, 500 and 700 MHz , which correspond to sub-figures a and b , respectively. The plot obtained on sub-figures c and d allow to dynamically visualize the spectrum, possible peaks of interest and it is not limited to the static sub-figures presented. 4.1. Tomato Fruit Extracts 58 10000 15000 20000 25000 10 20 30 40 50 glucose 500MHz 75000 100000 125000 150000 10 20 30 40 50 700MHz 36000 38000 40000 42000 10 20 30 40 50 fructose 100000 150000 200000 10 20 30 40 50 2000 3000 4000 5000 6000 10 20 30 40 50 sucrose 15000 20000 25000 10 20 30 40 50 25000 30000 35000 10 20 30 40 50 citrate 10000 20000 10 20 30 40 50 5000 10000 10 20 30 40 50 malate 20000 40000 60000 10 20 30 40 50 GABA 10000 15000 20000 10 20 30 40 50 3000 4000 5000 6000 7000 10 20 30 40 50 glutamine 10000 15000 20000 25000 10 20 30 40 50 Factor Development stage choline 37500 40000 42500 10 20 30 40 50 Factor Development stage Figure 10: Changes of choline, glutamine, GABA, malate, citrate, sucrose, fructose, and glucose contents throughout tomato fruit development, using ggplot2 and gridExtra on the data from MTBLS131 and MTBLS132 after peak detection, 500 and 700 MHz , respectively. In this figure, the signal intensity (y-axis) is plotted as a function of fruit development stage (x-axis), for each metabolite in both frequencies. 4.2. Worm (Caenorhabditis elegans) Metabolome 59 each metabolite. Nonetheless there are changes throughout tomato fruit development obtained with specmine that are similar to the ones found with precise measurements. Sucrose, citrate, choline on the dataset MTBLS132 and glucose on MTBLS131 present similar patterns to the reference. This can be explained by the quality of the peaks detected that translated to the quality of the group selected downstream to represent the corresponding metabolite. A deeper analysis on group selection could allow a better characterization of the changes on each development stage by each metabolite, reproducing patterns identical to the reference. 4.2 WORM (Caenorhabditis elegans) METABOLOME 4.2.1 INTRODUCTION In the previous case study, the 1D proton NMR was mentioned as the standard for an untargeted approach due to its efficiency which comes from the natural abundant 1 H and the highest frequency, leading to higher sensitivity. Another alternative is to consider the nuclei 13 C due to its large chemical shift dispersion, ability to detect quaternary carbons and direct measurement of metabolites backbone structure’[222]. The use of this nuclei is hampered by its low sensitivity, that comes from low natural abundance and decreased gyromagnetic ratio γ and in addition to these factors, solutions such as isotopic labelling can be expensive and challenging[222]. One effort that has been made to solve this issue and extend the use of 13 C-based approaches is the use of 2D techniques and creation of specific metabolite databases. In example, the database TOCCATA[223] stores information on 13 C chemical shifts that allow the identification of metabolites, their spin systems and isomeric states that come from 13C–13CTOCSY experiments of complex mixtures. One approach that was developed as an alternatative to NMR untargeted metabolomics is using INADEQUATE (incredible natural abundance double quantum transfer experiment) network analysis[224]. This 2D technique records 13 C chemical shifts in the direct dimension and 13 C– 13 C double quantum correlations in the indirect dimension, providing carbon correlated networks that allow direct metabolite identification[224]. It has been shown that INADEQUATE-like experiments could be used to obtain direct 13 C– 13 C correlations in complex spectra[225–228] which led to the development of a software package to automatically identify these correlations. The package’s name is INETA (INADEQUATE 4.2. Worm (Caenorhabditis elegans) Metabolome 60 network analysis) and it was developed by the authors that generated the data for this case study. They tested this package with samples from the endo- and exometabolome of C.elegans that were heat-shocked or maintained at room temperature (control). This case study has the objective to identify metabolites and their changes on the samples from C.elegans’ endo- and exometabolome submitted to a heat-shock condition. To achieve the results the same processing steps and PCA analysis will be carried out using specmine’s functions. The peak detection results obtained using specmine were not compared directly with the peak detection done by the authors that lead to metabolite identification. In their work (Clendinen, et al.[224]), a new approach to identify metabolites through correlated networks was employed to INADEQUATE spectra. The double quantum frequency in an INADEQUATE experiment allows to establish a double quantum diagonal with slope of 2 that correlates pairs of coupled 13 C nuclei. These pairs are symmetric to the diagonal at a given double quantum frequency which allows to establish connections between peaks through INADEQUATE rules. If the peaks satisfy this inequation |(CS1+CS2)−[DQ1+DQ2]|<SDT , where the pairs (DQ1,CS1) and (DQ2,CS2) represent the coordinates of the peaks (indirect dimension, direct dimension) and SDT is the user defined symmetric/diagonal tolerance, then the peaks are considered double quantum correlated. Vertical chemical shift correlations are satisfied when the difference between the peaks’ chemical shifts is less than a user defined threshold. With both correlations (double quantum frequency and chemical shifts) checked, peaks can be connected translating their 13 C nuclei into a network that identifies the backbone of a metabolite. The identification process is possible because peaks that form a network match their metabolite 1D 13C spectra. 4.2.2 2D-NMR DATA This study comprises 8 million 99% 13 C labeled young adult organisms of Caenorhabditis elegans splitted in 8 samples. These 8 samples were equally divided into control and condition. Four replicates were directly stored at room temperature (22 º C) where the other four were heat shocked at 33 º C for 30 minutes and then stored at room temperature. After incubation both endo- and exometabolome were extracted from all replicates and submmited to an INADEQUATE experiment. This originated two datasets, one for each metabolome, where the direct dimension (F2) has a final spectral width of 202 ppm and the indirect dimension (F1) has 404 ppm. 4.2. Worm (Caenorhabditis elegans) Metabolome 61 The data to this study is available at the NIH Common Fund’s National Metabolomics Data Repository (NMDR) website, the Metabolomics Workbench, https://www.metabolomicsworkbench.org where it has been assigned Project ID PR000095. The data can be accessed directly via it’s Project DOI: https://doi.org/10. 21228/M8S88T. The work is also supported by NIH grant, U2C- DK119886. In this case, the developed function to read Varian data had to be changed in terms of the apodization function (exponential to Lorentz-to-Gauss) in order to match the spectral preprocessing done by the authors. Besides this step, after reading the data into R and perform peak detection, four different sets of data were tested to compare results with the authors. Two datasets of endo- and exometabolome were tested to compare results with the authors, one was submitted to probabilistic quotient normalization and to a log scale after peak detection and the other without these preprocessing steps. 4.2.3 DATA SUMMARY AND VISUALIZATION The datasets from this case study are very large with more than 16 million data points for each sample, as shown in the code below. Each sample is a matrix of 4096 rows and 4096 columns and in the entire endometabolome dataset there is not a single missing value across samples. However, the sample N2 Control1 INAD in the exometabolome dataset has 3898 columns instead of 4096. In the author’s work they identified one control sample, using PCA analysis, in the exometabolome dataset that was considered an outlier. Since there is not a specification of the control sample by the author’s, the removal of the sample N2 Control1 INAD before peak detection was not considered. Instead, the integration of this sample in the peak detection phase may lead to the propagation of the peaks that characterize this sample as an outlier in this case study’ PCA analysis. Both endo- and exometabolome datasets have zero missing values across samples and standard deviations are high which means the values are not closer to the mean, thus enhancing peak detection. Dataset summary: Valid dataset Descripti on : Endometabolome INAD Type of data : 2d−nmr Number of samples : 8 Number of data points 16777216 4.2. Worm (Caenorhabditis elegans) Metabolome 62 Number of metadata vari a bles : 1 Label of x−axis values : ppm Label of y−axis values : ppm Label of p a ir ’ ( x , y ) values : i n t e n s i t y Number of missing values in data : N2 Control WP1 INAD N2 Control WP2 INAD N2 Control WP3 INAD 000 N2 Control WP4 INAD N2 HS WP1 INAD 0 0 N2 HS WP2 INAD N2 HS WP3 INAD N2 HS WP4 INAD 000 Mean of data values : N2 Control WP1 INAD N2 Control WP2 INAD N2 Control WP3 INAD 75369.68 71522.44 75187.47 N2 Control WP4 INAD N2 HS WP1 INAD 74703.18 81922.96 N2 HS WP2 INAD N2 HS WP3 INAD N2 HS WP4 INAD 81413.00 70712.09 81845.13 Median of data values : N2 Control WP1 INAD N2 Control WP2 INAD N2 Control WP3 INAD 44485.50 50967.11 43562.82 N2 Control WP4 INAD N2 HS WP1 INAD 40650.65 42538.45 N2 HS WP2 INAD N2 HS WP3 INAD N2 HS WP4 INAD 45765.93 41042.20 44326.70 Standard dev i a tion : N2 Control WP1 INAD N2 Control WP2 INAD N2 Control WP3 INAD 593004.9 272944.5 638784.8 N2 Control WP4 INAD N2 HS WP1 INA 747510.5 827350.3 N2 HS WP2 INAD N2 HS WP3 INAD N2 HS WP4 INAD 708588.2 688280.4 771142.3 Listing 4.3: Summary of Endometabolome’s 2D dataset. In terms of data visualization, there is not a specific reference sample spectra to compare a specific plot result. Since there is no information on what sample was used, the sample N2 Control WP1 INAD was plotted to compare its INADEQUATE spectra to the one published by the authors, shown on Figure 11. 4.2. Worm (Caenorhabditis elegans) Metabolome 63 a b Figure 11: INADEQUATE of one replicate C. elegans endometabolome, retrieved from Clendinen, et al. (a). Plot of the 2D spectra of sample N2 Control WP1 INAD from the endometabolome dataset, using specmine (b). 4.2. Worm (Caenorhabditis elegans) Metabolome 64 Visualization of a spetrum with 4096 rows and columns was not possible due to the size of the surface. To achieve the plot presented on Figure 11, half the rows and columns were merged, having the new rows and columns the mean values of their originals. This means that the sample plotted has 2048 rows and columns, however, it is possible to compare the results since spectra are similar. The high values of some peaks hinders the comparison between spectra because the color gradient is applied to all values and not regions. Despite this difficulty, the result obtained allows to identify the same regions of metabolite resonances found on the published spectrum. A darker blue on the obtained plot allows to recognize regions of interest, i.e., 100-150 double quantum ppm and 50-80 13 C chemical shift where the peaks with higher intensity values are located. Considering that the user can zoom in and out with greater image quality than the one presented on Figure 11, the function to plot 2D spectra is validated for both Bruker and Varian datasets. 4.2.4 REDUCE DIMENSIONALITY AND ANALYSIS In this particular case study, the results in this subsection will be limited to the analysis of the datasets after peak detection. The directly comparable results will be the PCA analysis where similar scores plots will validate the peak detection phase. As said in the subsection 4.2.2 this analysis will be done with and without preprocessing on either datasets, however, the results presented on this subsection are from datasets with preprocessing. Since there is no information on the double quantum frequencies or chemical shifts of the peaks that were picked it is not possible to compare directly the results obtained when detecting peaks through the functions developed for this purpose. Despite the lack of information reagrding which peaks were picked, there is information on thresholds (minimum and maximum) that were used in the process. The mean of these values ( 5e7 and 7e7) for endo- and exometabolome datasets, respectively, were used as thresholds for peak detection and a noise filter 1 was used for the endo- and exometabolome datasets. A mild filter was applied due to the high number of peaks detected without filter in earlier stages which hinders future analysis. In the example code below it is shown the output of the peak detection function for the endometabolome dataset. A total of 401 peaks were detected for this dataset where as for the exometabolome dataset were detected 908 peaks. The number of peaks is relevant because a higher number of peaks 4.2. Worm (Caenorhabditis elegans) Metabolome 65 translates into a larger dataset which usually leads to higher data variance that needs to be explained by each principal component in PCA analysis. >endo peaks <−peak detection2d ( endometab , baseline thresh = 5e7 , n o i s e F i l t = 1) Sample : N2 Control WP1 INAD has 38 peaks Sample : N2 Control WP2 INAD has 7 peaks Sample : N2 Control WP3 INAD has 50 peaks Sample : N2 Control WP4 INAD has 61 peaks Sample : N2 HS WP1 INAD has 74 peaks Sample : N2 HS WP2 INAD has 51 peaks Sample : N2 HS WP3 INAD has 59 peaks Sample : N2 HS WP4 INAD has 61 peaks Listing 4.4: Example of a 2D peak detection; Endometabolome dataset. In terms of univariate analysis, t-tests were performed on all variables and the results for both the endo- and exometabolome are presented in Table 5and Table 6, respectively. Table 5: t-test results from Endometabolome dataset after peak detection and preprocessing with Temperature metadata. Combination of ppm (X.F1ppm.F2ppm) pvalues logs fdr X257.49.77.54 0.023 1.630 0.316 X52.29.77.54 0.024 1.629 0.316 X28.51.18.99 0.024 1.620 0.316 X128.55.68.02 0.024 1.620 0.316 X58.7.23.04 0.024 1.620 0.316 X33.25.23.04 0.024 1.620 0.316 X55.35.29.2 0.024 1.620 0.316 X60.18.27.82 0.024 1.620 0.316 X59.69.23.04 0.024 1.620 0.316 X56.33.79.17 0.024 1.620 0.316 X51.99.77.54 0.024 1.620 0.316 X56.23.79.17 0.024 1.620 0.316 The tables allow to compare the different peaks selected for each metabolome. The main difference is that peaks detected on the endometabolome dataset have statiscally different means regarding the Temperature metadata variable. Only one peak (36 x 58 ppm ) from the exometabolome dataset was able to achieve the same result. In Table 5it 4.2. Worm (Caenorhabditis elegans) Metabolome 66 Table 6: t-test results from Exometabolome dataset after peak detection and preprocessing with Temperature metadata. Combination of ppm (X.F1ppm.F2ppm) pvalues logs fdr X36.5.58.8 2.289e-10 9.640 1.513e-07 X25.75.12.43 1.340e-01 0.873 4.490e-01 X36.5.58.9 1.340e-01 0.873 4.490e-01 X25.75.12.53 1.340e-01 0.873 4.490e-01 X31.37.190.23 1.340e-01 0.873 4.490e-01 X264.8.133.73 1.340e-01 0.873 4.490e-01 X25.95.128.99 1.340e-01 0.873 4.490e-01 X264.89.188.57 1.340e-01 0.873 4.490e-01 X25.95.116.12 1.340e-01 0.873 4.490e-01 X161.11.167.86 1.340e-01 0.873 4.490e-01 X25.95.129.09 1.340e-01 0.873 4.490e-01 X19.73.92.1 1.340e-01 0.873 4.490e-01 is possible to consider the regions between 30-60 and ppm on indirect dimension and 14-30 ppm on direct dimension as set of variables that could discriminate the heat shock condition on C.elegans. It is important to note that although Table 6does not highlight statistically significant peaks, it does not follow the same exact peak region as Table 5, which could mean that different metabolites are present on different metabolomes under a specific condition. On the other hand, similar peaks detected on both datasets allow to study the metabolic changes of an organism under an environmental condition, by comparing to it’s default behaviour (control). In terms of PCA analysis, three results were obtained that compare the scores plots (PC1 and PC2) from the endo- and exometabolome. These plots are shown on Figure 12 and Figure 13, respectively. In Figure 12 (b) it was not possible to observe a good separation along the PC1 for all samples as the authors obtained. Nonetheless, the majority of the samples can be separated along the PC1 following the same distribution regarding to Temperature metadata, i.e. most control samples have negative values on PC1 axis where heat shock samples have positive values. This means that the heat shock condition has an effect on C.elegans’ endometabolome. The variation explained by each PC is similar to the one obtained by the authors, a difference of 2-3%, which suggests that the eigenvalues for each PC are identical. Despite the lack of information regarding which peaks were picked by the authors’ pipeline, the results obtained after peak detection suggest that this step selected relevant information for future analysis in the endometabolome dataset. 4.2. Worm (Caenorhabditis elegans) Metabolome 67 a b Figure 12: (a) Scores plot from the PCA analysis done by Clendinen, et al, on the endometabolome data. b Scores plot from the PCA analysis for the endometabolome dataset using specmine after peak detection and preprocessing. The other two samples that do not follow the values for the first principal component could be a result of differences in spectral preprocessing, the hierarchical alignment of 2D spectra[229] performed by the authors and the quality of the peaks detected for those samples. As it is shown on Figure 13 (b) there is no good separation along PC1 as it happens on the first plot of the figure. There is no possible separation between conditions which indicates that the exometabolome is not affected heat shock. However, this scores plot was done using an exometabolome dataset with an outlier. According to the authors this outlier was identified in their PCA analysis and Figure 13 (b) shows that there is one control sample with the highest positive value along PC1, opposing the negative values found in other control samples. This indicates that the outlier spectra propagated through specmine analysis and was also identifiable in the PCA analysis, validating 6 BIBLIOGRAPHY [1] Gil, A. M., Duarte, I. F., Godejohann, M., Braumann, U., Maraschin, M., & Spraul, M. (2003). Characterization of the aromatic composition of some liquid foods by nuclear magnetic resonance spectrometry and liquid chromatography with nuclear magnetic resonance and mass spectrometric detection. Analytica Chimica Acta, 488(1), 35–51. [2] Costa, C., Maraschin, M., & Rocha, M. (2016). An R package for the integrated analysis of metabolomics and spectral data. Computer Methods and Programs in Biomedicine,129, 117–124. [3] Cardoso, S., Afonso, T., Maraschin, M., & Rocha, M. (2019). WebSpecmine: A website for metabolomics data analysis and mining. Metabolites,9(10), 237. [4] J ´ ez ´ equel, T., Deborde, C., Maucourt, M., Zhendre, V., Moing, A., & Giraudeau, P. (2015). Absolute quantification of metabolites in tomato fruit extracts by fast 2D NMR. Metabolomics,11(5), 1231–1242. [5] Patti, G. J., Yanes, O., & Siuzdak, G. (2012). Innovation: Metabolomics: the apogee of the omics trilogy. Nature Reviews Molecular Cell Biology,13(4), 263– 269. [6] Maraschin, M., R. Somensi Zeggio, A., M. Tomazzoli, M., K. Oliveira, S., Ramlov, F., Beatriz Veleirinho, M., & Rocha, M. (2017). Metabol ´ omica e Quimiometria como Ferramentas para An ´ alises Quimio(bio) diversas. In Biotecnologia aplicada ` a agroind´ ustria (pp. 18–43). [7] Kim, S. J., Kim, S. H., Kim, J. H., Hwang, S., & Yoo, H. J. (2016). Understanding metabolomics in biomedical research. Endocrinology and metabolism (Seoul, Korea),31(1), 7–16. 72 73 [8] Cevallos-Cevallos, J. M., Reyes-De-Corcuera, J. I., Etxeberria, E., Danyluk, M. D., & Rodrick, G. E. (2009). Metabolomic analysis in food science: a review. Trends in Food Science and Technology,20(11-12), 557–566. [9] Emwas, A. - H., Roy, R., McKay, R. T., Tenori, L., Saccenti, E., Gowda, G. A. N., . . . Wishart, D. S. (2019). NMR spectroscopy for metabolomics research. Metabolites, 9(7), 123. [10] Lamichhane, S., Sen, P., Dickens, A. M., Hy ¨ otyl ¨ ainen, T., & Ore ˇ si ˇ c, M. (2018). An overview of metabolomics data analysis: Current tools and future perspectives. Comprehensive Analytical Chemistry,82, 387–413. [11] Hanson, B. A. [Bryan A.]. (2020). Chemospec2d: Exploratory chemometrics for 2d spectroscopy. R package version 0.4.176. [12] Lewis, I. A., Schommer, S. C., & Markley, J. L. (2009). rNMR: Open source software for identifying and quantifying metabolites in NMR spectra. Magnetic Resonance in Chemistry,47(SUPPL. 1), S123. [13] Xia, J., Bjorndahl, T. C., Tang, P., & Wishart, D. S. (2008). MetaboMiner - Semiautomated identification of metabolites from 2D NMR spectra of complex biofluids. BMC Bioinformatics,9(1), 507. [14] Chong, J., & Xia, J. (2018a). MetaboAnalystR: an R package for flexible and reproducible analysis of metabolomics data. Bioinformatics,34(24), 4313–4314. [15] Darbeau, R. (2006). Nuclear magnetic resonance (NMR) spectroscopy: A review and a look at its use as a probative tool in deamination chemistry. Applied Spectroscopy Reviews,41(4), 401–425. [16] Hatzakis, E. (2019). Nuclear Magnetic Resonance (NMR) spectroscopy in food science: A c omprehensive review. Comprehensive Reviews in Food Science and Food Safety,18(1), 189–220. [17] Levitt, M. H. (2008). Spin dynamics. Chichester: John Wiley & Sons. [18] Keifer, P. A. [Paul A.]. (2013). Flow NMR. In Encyclopedia of biophysics (pp. 778– 779). [19] Keifer, P. A. [P. A.]. (2007). Flow techniques in NMR spectroscopy. In Annual reports on nmr spectroscopy (Vol. 62, pp. 1–47). [20] Strohschein, S., Rentel, C., Lacker, T., Bayer, E., & Albert, K. (1999). Separation and identification of tocotrienol isomers by HPLC-MS and HPLC-NMR coupling. Analytical Chemistry,71(9), 1780–1785. 74 [21] Takis, P. G., Ghini, V., Tenori, L., Turano, P., & Luchinat, C. (2019). Uniqueness of the NMR approach to metabolomics. TrAC - Trends in Analytical Chemistry,120. [22] Mahrous, E. A., & Farag, M. A. (2015). Two dimensional NMR spectroscopic approaches for exploring plant metabolome: A review. Journal of Advanced Research,6(1), 3–15. [23] Nagayama, K., W ¨ uthrich, K., Bachmann, P., & Ernst, R. R. (1977). Two-dimensional J-resolved 1H n.m.r. spectroscopy for studies of biological macromolecules. Biochemical and Biophysical Research Communications,78(1), 99–105. [24] Ludwig, C., & Viant, M. R. (2010). Two-dimensional J-resolved NMR spectroscopy: Review of a key methodology in the metabolomics toolbox. Phytochemical Analysis,21(1), 22–32. [25] Aue, W. P., Karhan, J., & Ernst, R. R. (1976). Homonuclear broad band decoupling and two-dimensional J-resolved NMR spectroscopy. The Journal of Chemical Physics,64(10), 4226–4227. [26] Frydman, L., Scherf, T., & Lupulescu, A. (2002). The acquisition of multidimensional NMR spectra within a single scan. Proceedings of the National Academy of Sciences of the United States of America,99(25), 15858–15862. [27] Viant, M. R. (2003). Improved methods for the acquisition and interpretation of NMR metabolomic data. Biochemical and Biophysical Research Communications, 310(3), 943–948. [28] Foxall, P. J., Parkinson, J. A., Sadler, I. H., Lindon, J. C., & Nicholson, J. K. (1993). Analysis of biological fluids using 600 MHz proton NMR spectroscopy: application of homonuclear two-dimensional J-resolved spectroscopy to urine and blood plasma for spectral simplification and assignment. Journal of Pharmaceutical and Biomedical Analysis,11(1), 21–31. [29] Lutz, N. W., Maillet, S., Nicoli, F., Viout, P., & Cozzone, P. J. (1998). Further assignment of resonances in 1H NMR spectra of cerebrospinal fluid (CSF). FEBS Letters,425(2), 345–351. [30] Kim, H. K., Saifullah, Khan, S., Wilson, E. G., Kricun, S. D., Meissner, A., . . . Verpoorte, R. (2010). Metabolic classification of South American Ilex species by NMR-based metabolomics. Phytochemistry,71(7), 773–784. [31] Aguilar, J. A., Adams, R. W., Nilsson, M., & Morris, G. A. (2014). Suppressing exchange effects in diffusion-ordered NMR spectroscopy. Journal of Magnetic Resonance,238, 16–19. 75 [32] ˇ Cuperlovi ´ c-Culf, M. (2013). Experimental methodology. In Nmr metabolomics in cancer research (Chap. 3, pp. 193–213). [33] Khera, S., Grillo, M., Schnier, P., & Hollis, S. (2010). Application of diffusionedited NMR spectroscopy for the structural characterization of drug metabolites in mixtures. Journal of Pharmaceutical and Biomedical Analysis,51(1), 164–169. [34] Novoa-Carballal, R., Fernandez-Megia, E., Jimenez, C., & Riguera, R. (2011). NMR methods for unravelling the spectra of complex mixtures. Natural Product Reports,28(1), 78–98. [35] Sobolev, A. P., Brosio, E., Gianferri, R., & Segre, A. L. (2005). Metabolic profile of lettuce leaves by high-field NMR spectra. Magnetic Resonance in Chemistry, 43(8), 625–638. [36] Balayssac, S., Trefi, S., Gilard, V., Malet-Martino, M., Martino, R., & Delsuc, M. A. (2009). 2D and 3D DOSY 1H NMR, a useful tool for analysis of complex mixtures: Application to herbal drugs or dietary supplements for erectile dysfunction. Journal of Pharmaceutical and Biomedical Analysis,50(4), 602–612. [37] Lindon, J. C. (2016). Nuclear magnetic resonance spectroscopy — Multidimensional NMR spectroscopy. In Encyclopedia of analytical science (pp. 248–256). [38] Kim, H. K., Choi, Y. H., & Verpoorte, R. (2010). NMR-based metabolomic analysis of plants. Nature Protocols,5(3), 536–549. [39] Le Guennec, A., Tea, I., Antheaume, I., Martineau, E., Charrier, B., Pathan, M., . . . Giraudeau, P. (2012). Fast determination of absolute metabolite concentrations by spatially encoded 2D NMR: Application to breast cancer cell extracts. Analytical Chemistry,84(24), 10831–10837. [40] Sandusky, P., & Raftery, D. (2005a). Use of semiselective TOCSY and the Pearson correlation for the metabonomic analysis of biofluid mixtures: Application to urine. Analytical Chemistry,77(23), 7717–7723. [41] Lucio-Guti ´ errez, J. R., Delgado-Montemayor, C., Coello-Bonilla, J., Waksman- Minsky, N., & Saucedo, A. L. (2019). Selective 1D-TOCSY and chemometrics to evaluate authenticity of Turnera diffusa and related botanical extracts. Phytochemistry Letters,30, 62–68. [42] Zhang, F., Robinette, S. L., Bruschweiler-Li, L., & Br ¨ uschweiler, R. (2009). Web server suite for complex mixture analysis by covariance NMR. Magnetic Resonance in Chemistry,47(SUPPL. 1), S118. 76 [43] Bingol, K., Li, D. W., Zhang, B., & Br ¨ uschweiler, R. (2016). Comprehensive metabolite identification strategy using multiple two-dimensional NMR spectra of a complex mixture implemented in the COLMARm web server. Analytical Chemistry,88(24), 12411–12418. [44] ¨ Oman, T., Tessem, M. B., Bathen, T. F., Bertilsson, H., Angelsen, A., Hedenstr ¨ om, M., & Andreassen, T. (2014). Identification of metabolites from 2D H-C HSQC NMR using peak correlation plots. BMC Bioinformatics,15(1). [45] Yi, Q., Scalley-Kim, M. L., Alm, E. J., & Baker, D. (2000). NMR characterization of residual structure in the denatured state of protein L. Journal of Molecular Biology, 299(5), 1341–1351. [46] Lee, S. H., Cha, E. J., Lim, J. E., Kwon, S. H., Kim, D. H., Cho, H., & Han, K. H. (2012). Structural characterization of an intrinsically unfolded mini-HBX protein from hepatitis B virus. Molecules and Cells,34(2), 165–169. [47] Lewis, I. A., Schommer, S. C., Hodis, B., Robb, K. A., Tonelli, M., Westler, W. M., . . . Markley, J. L. (2007). Method for determining molar concentrations of metabolites in complex solutions from two-dimensional 1H-13C NMR spectra. Analytical Chemistry,79(24), 9385–9390. [48] Schanda, P., & Brutscher, B. (2005). Very fast two-dimensional NMR spectroscopy for real-time investigation of dynamic events in proteins on the time scale of seconds. Journal of the American Chemical Society,127(22), 8014–8015. [49] Schanda, P., Kup ˆ ce, E., & Brutscher, B. (2005). SOFAST-HMQC experiments for recording two-dimensional deteronuclear correlation spectra of proteins within a few seconds. Journal of Biomolecular NMR,33(4), 199–211. [50] Liang, Y. S., Kim, H. K., Lefeber, A. W., Erkelens, C., Choi, Y. H., & Verpoorte, R. (2006). Identification of phenylpropanoids in methyl jasmonate treated Brassica rapa leaves using two-dimensional nuclear magnetic resonance spectroscopy. Journal of Chromatography A,1112(1-2), 148–155. [51] Dona, A. C., Kyriakides, M., Scott, F., Shephard, E. A., Varshavi, D., Veselkov, K., & Everett, J. R. (2016). A guide to the identification of metabolites in NMR- based metabonomics/metabolomics experiments. Computational and Structural Biotechnology Journal,14, 135–153. [52] Bernini, P., Bertini, I., Luchinat, C., Nepi, S., Saccenti, E., Sch ¨ afer, H., . . . Tenori, L. (2009). Individual human phenotypes in metabolic space and time. Journal of Proteome Research,8(9), 4264–4271. 77 [53] Hwang, T. L., Ronk, M., & Milne, J. E. (2013). Application of two-dimensional selective-TOCSY HMBC for structure elucidation of impurities in mixture without separation. Magnetic Resonance in Chemistry,51(2), 89–94. [54] Bingol, K., & Br ¨ uschweiler, R. (2014). Multidimensional APPROACHES to NMR- based metabolomics. Analytical Chemistry,86(1), 47–57. [55] Powers, R., & Riekeberg, E. (2017). New frontiers in metabolomics: From measurement to insight. F1000Research,6. [56] Ardenkjær-Larsen, J. H., Fridlund, B., Gram, A., Hansson, G., Hansson, L., Lerche, M. H., . . . Golman, K. (2003). Increase in signal-to-noise ratio of 10, 000timesinliquid − stateNMR .Proceedings of the National Academy of Sciences of the United States of America,100(18), 10158–10163. [57] Jaravine, V. A., Zhuravleva, A. V., Permi, P., Ibraghimov, I., & Orekhov, V. Y. (2008). Hyperdimensional NMR spectroscopy with nonlinear sampling. Journal of the American Chemical Society,130(12), 3927–3936. [58] Kup ˇ ce, E., & Freeman, R. (2003). Fast multi-dimensional Hadamard spectroscopy. Journal of Magnetic Resonance,163(1), 56–63. [59] Giraudeau, P., & Frydman, L. (2014). Ultrafast 2D NMR: An emerging tool in analytical spectroscopy. Annual Review of Analytical Chemistry,7(1), 129–161. [60] Blakebrough-Hall, C., Dona, A., D’occhio, M. J., McMeniman, J., & Gonz ´ alez, L. A. (2020). Diagnosis of bovine respiratory disease in feedlot cattle using blood 1H NMR metabolomics. Scientific Reports,10(115). [61] Kim, S. Y., Kim, E. B., Shin, B. K., Seo, J. A., Kim, Y. S., Lee, D. Y., & Choi, H. K. (2020). NMR-based metabolic profiling discriminates the geographical origin of raw sesame seeds. Food Control,112. [62] Wang, Y., Yang, Y., Pan, D., He, J., Cao, J., Wang, H., & Ertbjerg, P. (2020). Metabolite profile based on 1H NMR of broiler chicken breasts affected by wooden breast myodegeneration. Food Chemistry,310. [63] Yan, S., Wang, D., Teng, M., Meng, Z., Yan, J., Li, R., . . . Zhu, W. (2020). Perinatal exposure to 2-Ethylhexyl Diphenyl Phosphate (EHDPHP) affected the metabolic homeostasis of male mouse offspring: Unexpected findings help to explain dose- and dietspecific phenomena. Journal of Hazardous Materials,388. [64] Yuan, P., Dong, M., Lei, H., Xu, G., Chen, G., Song, Y., . . . Zhang, L. (2020). Targeted metabolomics reveals that 2,3,7,8-tetrachlorodibenzofuran exposure induces hepatic steatosis in male mice. Environmental Pollution,259. 78 [65] Chen, H., Zhang, F., Li, R., Liu, Y., Wang, X., Zhang, X., . . . Yao, Q. (2020). Berberine regulates fecal metabolites to ameliorate 5-fluorouracil induced intestinal mucositis through modulating gut microbiota. Biomedicine and Pharmacotherapy, 124. [66] Alasadi, S. A., & Bhaya, W. S. (2017). Review of data preprocessing techniques in data mining. Journal of Engineering and Applied Sciences,12(16), 4102–4107. [67] Castillo, S., Gopalacharyulu, P., Yetukuri, L., & Ore, M. (2011). Algorithms and tools for the preprocessing of LC – MS metabolomics data. Chemometrics and Intelligent Laboratory Systems,108, 23–32. [68] McKnight, P. E., McKnight, K. M., Sidani, S., & Figueiredo, A. J. (2007). Missing data : a gentle introduction. Guilford Press. [69] Little, R. J. A., & Rubin, D. B. (2002). Statistical Analysis with Missing Data, 2nd Edition. New York: John Wiley & Sons. [70] Schafer, J. L. (1997). Analysis of Incomplete Multivariate Data (Fisrt). Chapman & Hall. [71] Kapil, A. R. (2018). Methods of missing value treatment and their effect on the accuracy of classification models. (October). [72] Cheema, J. R. (2014). A review of missing data handling methods in education research. Review of Educational Research,84(4), 487–508. [73] Harrell, F. E. (2001). Regression Modeling Strategies (1st ed.). [74] Batista, G. E. A. P. A., & Monard, M. C. (2002). A study of k-nearest neighbour as an imputation method. Frontiers in Artificial Intelligence and Applications, 87(June), 251–260. [75] Acu ˜ na, E., & Rodriguez, C. (2004). The treatment of missing values and its effect on classifier accuracy. Proceedings of the Meeting of the International Federation of Classification Societies (IFCS). [76] van Buuren, S. (2018). Flexible Imputation of Missing Data (2nd). Chapman and Hall/CRC. [77] Hodge, V. J., & Austin, J. (2004). A survey of outlier detection methodologies. Artificial Intelligence Review,22(2), 85–126. [78] Morris, G. A. (2017). NMR data processing. In Encyclopedia of spectroscopy and spectrometry (3rd, pp. 125–133). New York: Elsevier. [79] Wehrens, R., & Salek, R. (2019). Metabolomics: Practical Guide to Design and Analysis. Chapman and Hall/CRC Computational Biology Series. 79 [80] Emwas, A. H., Saccenti, E., Gao, X., McKay, R. T., dos Santos, V. A., Roy, R., & Wishart, D. S. (2018). Recommended strategies for spectral processing and post-processing of 1D 1 H-NMR data of biofluids with a particular focus on urine. Metabolomics,14(3), 1–23. [81] Pluskal, T., Castillo, S., Villar-Briones, A., & Ore ˇ si ˇ c, M. (2010). MZmine 2: Modular framework for processing, visualizing, and analyzing mass spectrometry-based molecular profile data. BMC Bioinformatics,11(1), 395. [82] Alonso, A., Marsal, S., & Juli ` a, A. (2015). Analytical methods in untargeted metabolomics: State of the art in 2015. Frontiers in Bioengineering and Biotechnology,3(MAR), 23. [83] Yang, C., He, Z., & Yu, W. (2009). Comparison of public peak detection algorithms for MALDI mass spectrometry data analysis. BMC Bioinformatics,10(1), 4. [84] O’haver, T. (2020). Pragmatic Introduction to Signal Processing Applications in scientific measurement. [85] Gragido, W., Pirc, J., Selby, N., & Molina, D. (2013). Signal-to-Noise Ratio. In Blackhatonomics (pp. 45–55). [86] Du, P., Kibbe, W. A., & Lin, S. M. (2006). Improved peak detection in mass spectrum by incorporating continuous wavelet transform-based pattern matching. Bioinformatics,22(17), 2059–2065. [87] Hao, J., Astle, W., De Iorio, M., & Ebbels, T. M. D. (2012). BATMAN-an R package for the automated quantification of metabolites from nuclear magnetic resonance spectra using a Bayesian model. Bioinformatics,28(15), 2088–2090. [88] Weljie, A. M., Newton, J., Mercier, P., Carlson, E., & Slupsky, C. M. (2006). Targeted pofiling: Quantitative analysis of 1H NMR metabolomics data. Analytical Chemistry,78(13), 4430–4442. [89] Burton, L., Ivosev, G., Tate, S., Impey, G., Wingate, J., & Bonner, R. (2008). Instrumental and experimental effects in LC-MS-based metabolomics. Journal of Chromatography B: Analytical Technologies in the Biomedical and Life Sciences, 871(2), 227–235. [90] Tomasi, G., van den Berg, F., & Andersson, C. (2004). Correlation optimized warping and dynamic time warping as preprocessing methods for chromatographic data. Journal of Chemometrics,18(5), 231–241. 80 [91] Savorani, F., Tomasi, G., & Engelsen, S. B. (2010). icoshift: A versatile tool for the rapid alignment of 1D NMR spectra. Journal of Magnetic Resonance,202(2), 190–202. [92] Veselkov, K. A., Lindon, J. C., Ebbels, T. M., Crockford, D., Volynkin, V. V., Holmes, E., . . . Nicholson, J. K. (2009). Recursive segment-wise peak alignment of biological 1H NMR spectra for improved metabolic biomarker recovery. Analytical Chemistry,81(1), 56–66. [93] Tautenhahn, R., Patti, G. J., Rinehart, D., & Siuzdak, G. (2012). XCMS online: A web-based platform to process untargeted metabolomic data. Analytical Chemistry,84(11), 5035–5039. [94] Craig, A., Cloarec, O., Holmes, E., Nicholson, J. K., & Lindon, J. C. (2006). Scaling and normalization effects in NMR spectroscopic metabonomic data sets. Analytical Chemistry,78(7), 2262–2267. [95] De Livera, A. M., Dias, D. A., De Souza, D., Rupasinghe, T., Pyke, J., Tull, D., . . . Speed, T. P. (2012). Normalizing and integrating metabolomics data. Analytical Chemistry,84(24), 10768–10776. [96] Kohl, S. M., Klein, M. S., Hochrein, J., Oefner, P. J., Spang, R., & Gronwald, W. (2012). State-of-the art data normalization methods improve NMR-based metabolomic analysis. Metabolomics,8(S1), 146–160. [97] Li, B., Tang, J., Yang, Q., Li, S., Cui, X., Li, Y., . . . Zhu, F. (2017). NOREVA: normalization and evaluation of MS-based metabolomics data. Nucleic Acids Research,45. [98] De Livera, A. M., Sysi-Aho, M., Jacob, L., Gagnon-Bartsch, J. A., Castillo, S., Simpson, J. A., & Speed, T. P. (2015). Statistical methods for handling unwanted variation in metabolomics data. Analytical Chemistry,87(7), 3606–3615. [99] Zheng, C., Zhang, S., Ragg, S., Raftery, D., & Vitek, O. (2011). Identification and quantification of metabolites in 1H NMR spectra by Bayesian model selection. Bioinformatics,27(12), 1637–1644. [100] Wishart, D. S. [David S.]. (2008). Quantitative metabolomics using NMR. TrAC - Trends in Analytical Chemistry,27(3), 228–237. [101] Wishart, D. S. [David S.]. (2009). Computational strategies for metabolite identification in metabolomics. Bioanalysis,1(9), 1579–1596. 81 [102] Ravanbakhsh, S., Liu, P., Bjordahl, T. C., Mandal, R., Grant, J. R., Wilson, M., . . . Wishart, D. S. (2015). Accurate, fully-automated NMR spectral profiling for metabolomics. PLOS ONE,10(5), e0124219. [103] Schrimpe-Rutledge, A. C., Codreanu, S. G., Sherrod, S. D., & McLean, J. A. (2016). Untargeted metabolomics strategies — Challenges and emerging directions. Journal of the American Society for Mass Spectrometry,27(12), 1897–1905. [104] Spraul, M., Neidig, P., Klauck, U., Kessler, P., Holmes, E., Nicholson, J. K., . . . Lindon, J. C. (1994). Automatic reduction of NMR spectroscopic data for statistical and pattern recognition classification of samples. Journal of Pharmaceutical and Biomedical Analysis,12(10), 1215–1225. [105] Padayachee, T., Khamiakova, T., Louis, E., Adriaensens, P., & Burzykowski, T. (2019). The impact of the method of extracting metabolic signal from 1H-NMR data on the classification of samples: A case study of binning and BATMAN in lung cancer. PLOS ONE,14(2), e0211854. [106] Astle, W., De Iorio, M., Richardson, S., Stephens, D., & Ebbels, T. (2012). A Bayesian model of NMR spectra for the deconvolution and quantification of metabolites in complex biological mixtures. Journal of the American Statistical Association,107(500), 1259–1271. arXiv: 1105.2204 [107] Ochs, M. F., Stoyanova, R. S., Arias-Mendoza, F., & Brown, T. R. (1999). A new method for spectral decomposition using a bilinear bayesian approach. Journal of Magnetic Resonance,137(1), 161–176. [108] Stoyanova, R., Nicholson, J. K., Lindon, J. C., & Brown, T. R. (2004). Sample classification based on Bayesian spectral decomposition of metabonomic NMR data sets. Analytical Chemistry,76(13), 3666–3674. [109] Eads, C. D., Furnish, C. M., Noda, I., Juhlin, K. D., Cooper, D. A., & Morrall, S. W. (2004). Molecular factor analysis applied to collections of NMR spectra. Analytical Chemistry,76(7), 1982–1990. [110] Soininen, P., Haarala, J., Veps ¨ al ¨ ainen, J., Niemitz, M., & Laatikainen, R. (2005). Strategies for organic impurity quantification by 1H NMR spectroscopy: Constrained total-line-shape fitting. Analytica Chimica Acta,542(2), 178–185. [111] Laatikainen, R., Niemitz, M., Malaisse, W. J., Biesemans, M., & Willem, R. (1996). A computational strategy for the deconvolution of NMR spectra with multiplet structures and constraints: Analysis of overlapping 13C-2H multiplets of 13C en- 88 [180] Gromski, P. S., Muhamadali, H., Ellis, D. I., Xu, Y., Correa, E., Turner, M. L., & Goodacre, R. (2015). A tutorial review: Metabolomics and partial least squaresdiscriminant analysis - a marriage of convenience or a shotgun wedding. Analytica Chimica Acta,879, 10–23. [181] Xu, Y., Zomer, S., & Brereton, R. G. (2006). Support vector machines: A recent method for classification in chemometrics. Critical Reviews in Analytical Chemistry, 36(3-4), 177–188. [182] Lokhov, P. G., Kharybin, O. N., & Archakov, A. I. (2012). Diagnosis of lung cancer based on direct-infusion electrospray mass spectrometry of blood plasma metabolites. International Journal of Mass Spectrometry,309, 200–205. [183] Guan, W., Zhou, M., Hampton, C. Y., Benigno, B. B., Walker, L. D. E., Gray, A., . . . Fern ´ andez, F. M. (2009). Ovarian cancer detection from metabolomic liquid chromatography/mass spectrometry data by support vector machines. BMC Bioinformatics,10(1), 259. [184] Zheng, H., Zheng, P., Zhao, L., Jia, J., Tang, S., Xu, P., . . . Gao, H. (2017). Predictive diagnosis of major depression using NMR-based metabolomics and least-squares support vector machine. Clinica Chimica Acta,464, 223–227. [185] Breiman, L. (2001). Random forests. Machine Learning,45(1), 5–32. [186] Efron, B., & Gong, G. (1983). A leisurely look at the bootstrap, the jackknife, and cross-validation. The American Statistician,37(1), 36. [187] Strobl, C., Boulesteix, A. L., Kneib, T., Augustin, T., & Zeileis, A. (2008). Conditional variable importance for random forests. BMC Bioinformatics,9(1), 307. [188] Strobl, C., Boulesteix, A. L., Zeileis, A., & Hothorn, T. (2007). Bias in random forest variable importance measures: Illustrations, sources and a solution. BMC Bioinformatics,8, 25. [189] Zhao, L. - L., Qiu, X. - J., Wang, W. - B., Li, R. - M., & Wang, D. - S. (2019). NMR metabolomics and random forests models to identify potential plasma biomarkers of blood stasis syndrome with coronary heart disease patients. Frontiers in Physiology,10, 1109. [190] Wickham, H., & Bryan, J. (2015). Vignettes: long-form documentation. In R packages (2nd, Chap. 11). O’Reilly Media, Inc. [191] RStudio Team. (2020). Rstudio: Integrated development environment for r. RStudio, PBC. Boston, MA. 89 [192] Smith, C. A., Want, E. J., O’Maille, G., Abagyan, R., & Siuzdak, G. (2006). XCMS: Processing mass spectrometry data for metabolite profiling using nonlinear peak alignment, matching, and identification. Analytical Chemistry,78(3), 779–787. [193] Hanson, B. A. [Bryan A], & Keinsley, J. (2012). ChemoSpec: An R Package for Chemometric Analysis of Spectroscopic Data and Chromatograms (Package Version 1.51-0) with contributions from Matt. [194] Croux, C., Filzmoser, P., & Oliveira, M. R. (2007). Algorithms for projection-pursuit robust principal component analysis. Chemometrics and Intelligent Laboratory Systems,87(2), 218–225. [195] Jacob, D., Deborde, C., & Moing, A. (2013). An efficient spectra processing method for metabolite identification from 1H-NMR metabolomics data. Analytical and Bioanalytical Chemistry,405(15), 5049–5061. [196] Cardoso, S. (2017). Development of web-based tools for metabolomics data analysis and mining (Master’s thesis, University of Minho, Braga). [197] Chong, J., & Xia, J. (2018b). MetaboAnalystR: an R package for flexible and reproducible analysis of metabolomics data. Bioinformatics (Oxford, England), 34(24), 4313–4314. [198] Borges Costa, C. (2014). Development of an integrated computational platform for metabolomics data analysis and knowledge extraction Master dissertation (Master’s thesis, University of Minho, Braga). [199] Klein, M. (2021). Mrbin: Magnetic resonance binning, integration and normalization. R package version 1.5.0. [200] Van Rossum, G., & Drake, F. L. (2009). Python 3 reference manual. Scotts Valley, CA: CreateSpace. [201] Helmus, J. J., & Jaroniec, C. P. (2013). Nmrglue: An open source Python package for the analysis of multidimensional NMR data. Journal of Biomolecular NMR, 55(4), 355–367. [202] Inc., P. T. (2015). Collaborative data science. Retrieved from https://plot.ly [203] Wickham, H. (2016). Ggplot2: Elegant graphics for data analysis. Springer-Verlag New York. [204] Wang, B., Goodpaster, A. M., & Kennedy, M. A. (2013). Coefficient of variation, signal-to-noise ratio, and effects of normalization in validation of biomarkers from NMR-based metabonomics studies. Chemometrics and Intelligent Laboratory Systems,128, 9–16. 90 [205] Dumas, M. E., Maibaum, E. C., Teague, C., Ueshima, H., Zhou, B., Lindon, J. C., . . . Holmes, E. (2006). Assessment of analytical reproducibility of 1H NMR spectroscopy based metabonomics for large-scale epidemiological research: The INTERMAP study. Analytical Chemistry,78(7), 2199–2208. [206] Parsons, H. M., Ekman, D. R., Collette, T. W., & Viant, M. R. (2009). Spectral relative standard deviation: A practical benchmark in metabolomics. Analyst, 134(3), 478–485. [207] Adams, D. C., & Ot ´ arola-Castillo, E. (2013). Geomorph: An r package for the collection and analysis of geometric morphometric shape data. Methods in Ecology and Evolution,4(4), 393–399. [208] Haug, K., Cochrane, K., Nainala, V. C., Williams, M., Chang, J., Jayaseelan, K. V., & O’Donovan, C. (2020). MetaboLights: A resource evolving in response to the needs of its scientific community. Nucleic Acids Research,48(D1), D440–D444. [209] Sud, M., Fahy, E., Cotter, D., Azam, K., Vadivelu, I., Burant, C., . . . Subramaniam, S. (2016). Metabolomics Workbench: An international repository for metabolomics data and metadata, metabolite standards, protocols, tutorials and training, and analysis tools. Nucleic Acids Research,44(D1), D463–D470. [210] Atta-ur-Rahman, Choudhary, M. I., & Atia-tul-Wahab. (2016). Chapter 5 - the second dimension. In Atta-ur-Rahman, M. I. Choudhary, & Atia-tul-Wahab (Eds.), Solving problems with nmr spectroscopy (second edition) (Second Edition, pp. 191– 225). [211] Kruger, N. J., Troncoso-Ponce, M. A., & Ratcliffe, R. G. (2008). 1H NMR metabolite fingerprinting and metabolomic analysis of perchloric acid extracts from plant tissues. Nature Protocols,3(6), 1001–1012. [212] Le Gall, G., Colquhoun, I. J., Davis, A. L., Collins, G. J., & Verhoeyen, M. E. (2003). Metabolite profiling of tomato (Lycopersicon esculentum) using 1H NMR spectroscopy as a tool to detect potential unintended effects following a genetic modification. Journal of Agricultural and Food Chemistry,51(9), 2447–2456. [213] Tredwell, G. D., Behrends, V., Geier, F. M., Liebeke, M., & Bundy, J. G. (2011). Between-person comparison of metabolite fitting for NMR-based quantitative metabolomics. Analytical Chemistry,83(22), 8683–8687. [214] Crook, A. A., & Powers, R. (2020). Quantitative NMR-based biomedical metabolomics: current status and applications. Molecules,25(21), 5128. 91 [215] Marchand, J., Martineau, E., Guitton, Y., Le Bizec, B., Dervilly-Pinel, G., & Giraudeau, P. (2018). A multidimensional 1 H NMR lipidomics workflow to address chemical food safety issues. Metabolomics,14(5). [216] Pathan, M., Charrier, B., Tea, I., Akoka, S., & Giraudeau, P. (2013). New practical tools for the implementation and use of ultrafast 2D NMR experiments. Magnetic Resonance in Chemistry,51(3), 168–175. [217] J ´ unior, L. H., Ferreira, A. G., & Giraudeau, P. (2013). Optimization and practical implementation of ultrafast 2D NMR experiments. Quimica Nova,36(4), 577–581. [218] Pathan, M., Akoka, S., Tea, I., Charrier, B., & Giraudeau, P. (2011). ”Multi-scan single shot” quantitative 2D NMR: A valuable alternative to fast conventional quantitative 2D NMR. Analyst,136(15), 3157–3163. [219] de Vos, R. C. H., Hall, R. D., & Moing, A. (2011). Metabolomics of a model fruit: Tomato. In Annual plant reviews volume 43 (Vol. 43, pp. 109–155). [220] Carrari, F., Baxter, C., Usadel, B., Urbanczyk-Wochniak, E., Zanor, M. I., Nunes- Nesi, A., . . . Fernie, A. R. (2006). Integrated analysis of metabolite and transcript levels reveals the metabolic shifts that underlie tomato fruit development and highlight regulatory aspects of metabolic network behavior. Plant Physiology, 142(4), 1380–1396. [221] Giovannoni, J. (2001). Molecular Biology of Fruit Maturation and Ripening. [222] Clendinen, C. S., Lee-McMullen, B., Williams, C. M., Stupp, G. S., Vandenborne, K., Hahn, D. A., . . . Edison, A. S. (2014). 13C NMR metabolomics: Applications at natural abundance. Analytical Chemistry,86(18), 9242–9250. [223] Bingol, K., Zhang, F., Bruschweiler-Li, L., & Br ¨ uschweiler, R. (2012). TOCCATA: A customized carbon total correlation spectroscopy NMR metabolomics database. Analytical Chemistry,84(21), 9395–9401. [224] Clendinen, C. S., Pasquel, C., Ajredini, R., & Edison, A. S. (2015). 13C NMR metabolomics: INADEQUATE network analysis. Analytical Chemistry,87(11), 5698–5706. [225] Oh, B. H., Westler, W. M., Darba, P., & Markley, J. L. (1988). Protein carbon-13 spin systems by a single two-dimensional nuclear magnetic resonance experiment. Science,240(4854), 908–911. [226] Takeuchi, K., Sun, Z. Y. J., & Wagner, G. (2008). Alternate 13C- 12C labeling for complete mainchain resonance assignments using C α Direct-detection with appli- 92 cability toward fast relaxing protein systems. Journal of the American Chemical Society,130(51), 17210–17211. [227] Sumner, S. C., Williams, C. C., Snyder, R. W., Krol, W. L., Asgharian, B., & Fennell, T. R. (2003). Acrylamide: A comparison of metabolism and hemoglobin adducts in rodents following dermal, intraperitoneal, oral, or inhalation exposure. Toxicological Sciences,75(2), 260–270. [228] Sumner, S. C., Stedman, D. B., Clarke, D. O., Welsch, F., & Fennell, T. R. (1992). Characterization of Urinary Metabolites from [1,2,methoxy-13C]-2-Methoxyethanol in Mice Using 13C Nuclear Magnetic Resonance Spectroscopy. Chemical Research in Toxicology,5(4), 553–560. [229] Robinette, S. L., Ajredini, R., Rasheed, H., Zeinomar, A., Schroeder, F. C., Dossey, A. T., & Edison, A. S. (2011). Hierarchical alignment and full resolution pattern recognition of 2D NMR Spectra: Application to nematode chemical ecology. Analytical Chemistry,83(5), 1649–1657.