| Literature DB >> 25984241 |
Stephan Beisken1, Pablo Conesa1, Kenneth Haug1, Reza M Salek1, Christoph Steinbeck1.
Abstract
BACKGROUND: Spectra visualisation from methods such as mass spectroscopy, infrared spectroscopy or nuclear magnetic resonance is an essential part of every web-facing spectral resource. The development of an intuitive and versatile visualisation tool is a time- and resource-intensive task, however, most databases use their own embedded viewers and new databases continue to develop their own viewers.Entities:
Keywords: Charting library; JavaScript; Spectroscopy
Year: 2015 PMID: 25984241 PMCID: PMC4432097 DOI: 10.1186/s13321-015-0065-7
Source DB: PubMed Journal: J Cheminform ISSN: 1758-2946 Impact factor: 5.514
Figure 1Simplified diagram of the relationships between the data and chart structures and their extensions. This diagram illustrates the concept of how the data to be displayed and the chart type that displays the data are separated and how they can interact. Predefined or new custom data and chart structures extend their individual Data and Chart objects, i.e. they inherit a contract that defines how the data and chart structures can be accessed (black line). Data extensions need to provide a fetch and bin function that define how the data is retrieved from a resource and how it is binned whereas chart extensions need to define how the data is rendered (renderData) and how the x- and y-values are scaled (xScale, yScale). Depending on the function definitions, chart extensions can for example appear as MS charts or IR charts. In general, a chart extension can be written to represent many other types of two dimensional charts if the contract is fulfilled. When the data object is loaded to the chart object (dashed line), its add and remove methods are associated with the chart. Each chart can only have one data handle associated with it as indicated by the number ‘1’. The data object serves as data handle for all data-related interactions.
Figure 2Screenshot of the SpeckTackle viewer integrated into the MetaboLights database. An overlay of three 500 MHz NMR spectra (acquired with different parameters) of Uridine [MTBLC16704] is shown between 3 ppm and 9 ppm. Chart series names for the optional chart legend in the upper right hand corner were replaced by computed identifiers because they were not provided on data load. The option ‘Labels’ was turned on for signal labels.
Figure 3Screenshot of the SpeckTackle viewer with annotations and tooltips. A fragmentation spectrum (MS2) of Uridine [MTBLC16704] is shown. Annotations are displayed for the main peak and two fragments. Tooltips for individual signals are loaded on mouse over. The putative fragment structure plus additional textual information is shown for the signal at m/z =113.00.