Interlab: A python module for consensus analysis in interlaboratory studies

David A. Sheen

National Institute of Standards and Technology

Last Revision Oct 21, 2020

Download this software from GitHub

Welcome to the home page for analysis software of Interlab: A python module for consensus analysis in interlaboratory studies. This software is a Python package that will perform consensus analysis on spectral data such as NMR, GC-MS and LC-MS. Use of this code allows researchers to identify laboratories producing data closest to the consensus values, thereby ensuring that untargeted studies are using the most precise data available to them. The software was originally developed for analyzing NMR data but can be applied to any array data, including Raman or FTIR spectroscopy and GC-MS or LC-MS.

The input for the code consists of a set of sample labels identifying the physical objects measured in the interlaboratory study, facility labels that identify the facility of origin of the measurements, and the data themselves. It is the responsibility of the user to format the data and metadata so that the code can read it. In addition, the user must specify the distance function that will be used to compare the spectra and the statistical distribution that these distances will be fit to. Two examples are provided:

Given the input data, the code will perform the following tasks:

  • Calculates the interspectral distances
  • Fits the project’s distribution function to the distance data and calculate the corresponding scores.
  • Identifies outliers within each spectral population
  • Conducts a principal components analysis on the scores and compute the projected statistical distance
  • Uses the projected statistical distance to determine the data set outliers.

The software cannot be used out of the box. Users must create an interface to their own software, and that interface will be specific to the user’s application. The example notebook, demonstrates one such possible interface.

Contact

David Sheen

Indices and tables