Averaging Mass Spectra

From MicrobeMS Wiki
Jump to: navigation, search

Various reasons exist to create average, or mean spectra, from individual mass spectra. First and foremost, averaging allows to improve the spectral signal-to-noise ratio (SNR). A second goal of spectra averaging is to eliminate the degree of spectral variability when measuring spatially inhomogeneous samples from different sample spots. Finally, spectra averaging may be useful when prepraring illustrations for presentations or scientific publications.

IMPORTANT: Average spectra should not be used as inputs for identification algorithms. For this purpose please use the function create database spectra from individual microbial mass spectra.

Producing average spectra

 1. Load the mass spectral data files via the load spectra (Bruker data file format), 
    import spectra from mzXML data, or the load MS multifile options of the File pulldown menu.
2. To produce an average spectrum select the respective mass spectra in the listbox at the
   top left corner (the listbox is labeled by spectral tags). To select multiple spectra 
   hold the <shift> key while selecting.
3. Start the procedure by selecting average spectra --> from selection from 
   the Analysis pull down menu. Average spectra can be also created from labeled spectra,
   i.e. from spectra with a class assignment. Labelling, or class assignment, can be carried out 
   by selecting the appropriate spectra and choosing class assignements --> class X from 
   the Edit pulldown menu.
4. Average spectra are created by a simple averaging procedure, either from original, or from
   pre-processed mass spectra (depending on the status of the checkbox org.spectra in the 
   VIEW tab). When averaging is finished a new file id in the format 
   avrgspec-DD-MON-YEAR-HR-MI-SE.XXX is created. Note that the metadata from the first spectrum 
   are automatically adopted as the metadata of the average spectrum.