The present disclosure relates to chromatographic peak detection and identification. More specifically, the field of the present disclosure is that of a system and method for syntactical identification and location of chromatographic peaks.
Empirical data associated with a sample and produced by analytical instrumentation may be analyzed and processed for many reasons. In general, the analysis of such empirical data is performed by computer software programs, which may present the empirical data in the form of a chromatogram (a graphic representation of the empirical data). One feature of chromatograms which is often desired relates to identification of a general or local peak of the data (e.g., a place on the chromatogram where a local or global high point exists). Information about features of a data peak, such as x and y-axis coordinates of a data peak or the area underneath a data peak, for example, may be used in deriving specific and valuable information about the analyzed sample (such as concentration, purity, and identity).
Chromatography and mass spectrometric detection are common techniques used for chemical compound identification, quantification, and other forms of analysis that represent empirical data in the form of a chromatogram. For example, the presence and location of a peak on a chromatogram, associated with analysis of a chemical compound, may represent time-based concentration measurements of the compound. Such information is valuable for a variety of research and regulatory applications.
Two common mathematical approaches for identifying peaks include the use of matched filters and derivatives. (See, for example: Attila Felinger, “Data analysis and signal processing in chromatography,” Volume 21 in Data Handling in Science and Technology, Elsevier, Amsterdam, 1998, Chapter 8). In general, matched filters are based on noise reduction by multiplication in the frequency domain for providing an optimum signal-to-noise ratio. The derivatives approach, in general, involves the computation of one or more derivatives relating to empirical data points to differentiate the data points from other points within a chromatogram. Mathematical approaches for identifying peaks may also be used in conjunction with smoothing techniques for processing data points (e.g., background noise is minimized or peak shapes are assumed).
While sophisticated and statistically valid methods of peak detection exist, there are various problems with current methods of peak detection, particularly with difficult data such as “noisy” data or data in which the peak shape changes significantly.
The present disclosure provides a system and method for syntactical identification and location of chromatographic peaks.
According to one embodiment, a method determines the presence of at least one data peak within a plurality of data points representing at least two empirical data variables relating to a sample. The method includes determining at least one of a first and a second derivative for each of a plurality of the data points, assigning one of a plurality of grammar elements to correspond to a plurality of the data points, the assigning including a comparing of at least one of the first and second derivative to a reference value, and compiling a grammar listing in which a grouping of grammar elements representative of a peak syntax may be identified therein for indicating the presence of at least one data peak. The steps of determining, assigning, and compiling are performed by executing a computer readable program using a processor of a computing device. Further, according to another embodiment, the disclosed method displays a chromatogram including a plurality of the data points, to the user.
According to another embodiment of the disclosed method, the plurality of grammar elements includes at least one of a baseline grammar element, a rising edge grammar element, an apex grammar element, and a falling edge grammar element. Additionally, the grammar element assigned to each data point may be indicative of a ratio of a particular slope value of the data point to a value related to a zero baseline. Further, the slope value may be derived from at least one of a first and a second derivative value of the data point and may include a smoothing process for the data point. According to one embodiment of the instant methods, the smoothing process includes convolving the data with a smoothing filter,
i is the index of the data value being smoothed, the length of the filter is given by 2M+1 where M is a positive whole number, and f0(0)=1.
According to an embodiment of the disclosed method, the first derivative value is also obtained by convolution with a filter,
and f1(0)=0. Additionally, according to an embodiment of the present disclosure, the second derivative is obtained by convolution with a filter,
In all above equations j runs over the interval from −M . . . 0 . . . M in unit steps.
According to another embodiment, the plurality of peak syntax includes a normal syntax, a rising shoulder syntax, and a falling shoulder syntax. According to this embodiment, the normal syntax is indicative of the presence of the grammar element arrangement: rising edge, apex, falling edge; and the rising shoulder syntax is indicative of the presence of the grammar element arrangement: rising edge, apex, rising edge, apex, falling edge; and the falling shoulder syntax is indicative of the presence of the grammar element arrangement: rising edge, apex, falling edge, apex, falling edge.
In yet another embodiment, the method further includes the step of assigning a probability of assignment value to each of the grammar types assigned to each of the data points. Additionally, the step of identifying may further include analyzing the probability of assignment value associated with each grammar element.
In yet another embodiment, the step of indicating includes providing a peak list including a peak start location, a peak end location, and a peak apex location for at least one data peak shown in the indicating step. Additionally, according to an embodiment, the step of indicating may include indicating the presence of a peak syntax by presenting a data peak on a chromatogram. Further, the instant method may include a step of assigning one of a plurality of grammar segments to a plurality of data points that include at least one empirical data variable, that are in close proximity to each other, and that have a concentration of like grammar types, wherein the grammar listing includes a plurality of the assigned grammar segments.
In another embodiment of the instant disclosure, the plurality of data points may include replicate data points of the sample. The replicate data points of the sample may be derived from the computer readable program which receives the empirical data of the sample and derives replicate data points therefrom.
According to another embodiment of the instant disclosure, a system for identifying a data peak is disclosed. The system includes a computing device having a processor, an associated memory, and a peak identification software module stored in the memory and having a plurality of machine readable instructions enabling the processor to receive empirical data including a plurality of data points relating to a sample, each data point representative of at least two empirical data variables relating to the sample, the software module further enabling the processor to assign one of a plurality of grammar elements to each of the plurality of data points, compile a grammar listing, identify a grouping of grammar elements representative of a peak syntax within the grammar listing, and indicate the presence of a peak syntax. According to another embodiment of the disclosed system, the plurality of grammar elements comprises a baseline grammar element, a rising edge grammar element, an apex grammar element, and a falling edge grammar element.
In a further embodiment of the disclosed system, the grammar element is derived from at least one of a first and a second derivative value of the data point, the first and second derivative values of the data point being indicative of a ratio of a slope of the data point to a value representing a zero baseline. It is also a further embodiment of the disclosed system that the grammar element assigned to each data point is further derived from a smoothing process of the data point.
According to another embodiment of the disclosed system, the software module indicates the presence of a peak syntax by presenting a data peak on a chromatogram.
According to yet another embodiment of the disclosed system, the computing device is integral with the analytical instrumentation adapted to generate the plurality of data points.
The above-mentioned aspects of exemplary embodiments will become more apparent and the disclosure itself will be better understood by reference to the following description of embodiments of the disclosure taken in conjunction with the accompanying drawing, wherein:
Corresponding reference characters indicate corresponding parts throughout the several views. Although the drawing figures represent embodiments of the present disclosure, the drawing figures are not necessarily to scale and certain features may be exaggerated in order to better illustrate and explain the present disclosure. The flow charts are also representative in nature, and actual embodiments of the disclosure may include further features or steps not shown in the drawing figures.
The embodiments disclosed herein are not intended to be exhaustive or limit the disclosure to the precise form disclosed in the following detailed description. Rather, the embodiments are chosen and described so that others skilled in the art may utilize their teachings.
The detailed descriptions which follow are presented in part in terms of algorithms and symbolic representations of operations on data bits within a computer memory that represent alphanumeric characters or other information. These descriptions and representations are used by those skilled in the art of data processing to effectively convey the substance of their work to others skilled in the art.
An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. These steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It proves convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, symbols, characters, display data, terms, numbers, or the like. It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely used here as convenient labels applied to such quantities.
Some algorithms may use data structures for both inputting information and producing the desired result. Data structures greatly facilitate data management by data processing systems, and may not be directly accessible. Data structures are not the information content of a memory. Rather, they represent specific structural elements which impart a physical organization on the information stored in memory. More than mere abstraction, the data structures are typically specific electrical or magnetic structural elements in memory which simultaneously represent complex data accurately and provide increased efficiency in computer operation.
Manipulations performed in the data processing are often referred to in terms, such as comparing or adding, commonly associated with mental operations performed by a human operator. No such capability of a human operator is necessary, or desirable in most cases, in any of the operations described herein which form part of the present disclosure; the operations are machine operations. Useful machines for performing the disclosed operations include general purpose digital computers or other similar devices. In all cases the distinction between the method operations of a computer and the method of computation itself should be recognized. The present disclosure relates to a method and apparatus for operating a computer in processing electrical or other (e.g., mechanical, chemical) physical signals to generate other desired physical signals.
The present disclosure also relates to an apparatus for performing these operations. This apparatus may be specifically constructed for the required purposes or it may comprise a general purpose computer as selectively activated or reconfigured by a computer program stored in the computer. The algorithms presented herein are not inherently related to any particular computer or other apparatus. In particular, various general purpose machines may be used with programs written in accordance with the teachings herein, or it may prove more convenient to construct more specialized apparatus to perform the required method steps.
The present disclosure may be practiced with “object-oriented” software, and particularly with an “object-oriented” operating system. The “object-oriented” software is organized into “objects,” each typically including a block of computer instructions describing various procedures (“methods”) to be performed in response to “messages” sent to the object or “events” which occur with the object. Such operations include, for example, the manipulation of variables, the activation of an object by an external event, and the transmission of one or more messages to other objects. Objects are reusable software components that model physical items.
Messages are sent and received between objects having certain functions and having knowledge to carry out processes. Messages are generated in response to user instructions, for example, by a user activating an icon with a “mouse” pointer and thereby generating an event. Also, messages may be generated by an object in response to the receipt of a message. When one of the objects receives a message, the object carries out an operation (a message procedure) corresponding to the message and, if necessary, returns a result of the operation. Each object has a region where internal states (instance variables) of the object itself are stored and where the other objects are not allowed to access. One feature of an object-oriented system is inheritance. For example, an object for drawing a “circle” on a display may inherit functions and knowledge from another object for drawing a “shape” on a display.
A programmer “programs” in an object-oriented programming language by writing individual blocks of code each of which creates an object by defining its methods. A collection of such objects adapted to communicate with one another by messages effects an object-oriented program. Object-oriented computer programming facilitates the modeling of interactive systems in that each component of the system can be modeled with an object, the behavior of each component being simulated by the methods of its corresponding object, and the interactions between components being simulated by messages transmitted between objects.
An operator may stimulate a collection of interrelated objects comprising an object-oriented program by sending a message to one of the objects. The receipt of the message may cause the object to respond by carrying out predetermined functions which may include sending additional messages to one or more other objects. The other objects may in turn carry out additional functions in response to the messages they receive, including sending still more messages. In this manner, sequences and combinations of message and response may continue or may come to an end when all messages have been responded to and no new messages are being sent. When modeling systems utilize an object-oriented language, a programmer need only think in terms of how each component of a modeled system responds to a stimulus and not in terms of the sequence of operations to be performed in response to some stimulus. Such sequence of operations naturally flows out of the interactions between the objects in response to the stimulus and need not be preordained by the programmer.
Although object-oriented programming makes simulation of systems of interrelated components more intuitive, the operation of an object-oriented program is often difficult to understand because the sequence of operations carried out by an object-oriented program is usually not immediately apparent from a software listing as in the case for sequentially organized programs. Nor is it easy to determine how an object-oriented program works by simply observing the readily apparent manifestations of its operation. Most of the operations carried out by a computer in response to a program are “invisible” to an observer because typically only a relatively few steps in a program produce an observable computer output.
Several terms which are used frequently have specialized meanings in the present context. The term “object” relates to a set of computer instructions and associated data which can be activated directly or indirectly by the user. The terms “windowing environment,” “running in windows,” and “object-oriented operating system” are used to denote a computer user interface in which information is manipulated and displayed on a video display such as within bounded regions on a raster scanned video display. The terms “network,” “local area network,” “LAN,” “wide area network,” and “WAN” refer to two or more computers which are connected so that messages may be transmitted between the computers. In such computer networks, typically one or more computers operate as a “server,” a computer with large storage devices such as hard disk drives and communication hardware to operate peripheral devices such as printers or modems. Other computers, termed “workstations,” provide a user interface so that users of computer networks can access network resources, such as shared data files, common peripheral devices, and inter-workstation communication. Users activate computer programs or network resources to create “processes” which include both the general operation of the computer program along with operations having specific characteristics determined by input variables and environment.
The terms “desktop,” “personal desktop facility,” and “PDF” refer to a user interface which presents a menu or display of objects and which provides settings for the user associated with the desktop, personal desktop facility, or PDF. When the PDF accesses a network resource, which typically requires an application program to execute on the remote server, the PDF calls an Application Program Interface, or “API,” to allow the user to provide commands to the network resource and observe any output. The term “Browser” refers to a program which is not necessarily apparent to the user, but which is responsible for transmitting messages between the PDF and the network server and for displaying and interacting with the network user. Browsers are designed to utilize a communications protocol for transmission of text and graphic information over a worldwide network of computers, namely the “World Wide Web” or simply the “Web.” Examples of Browsers compatible with the present disclosure include the Internet Explorer program (Internet Explorer is a trademark of Microsoft Corporation), the Opera Browser program created by Opera Software ASA, the Firefox browser program (Firefox is a registered trademark of the Mozilla Foundation), and others. Although the following description details such operations in terms of a graphic user interface of a Browser, the present disclosure may be practiced with text based interfaces, with voice or visually activated interfaces, having many of the functions of a graphic based Browser, and others.
Browsers display information which is formatted in a Standard Generalized Markup Language (“SGML”) or a HyperText Markup Language (“HTML”), both being scripting languages which embed non-visual codes in a text document through the use of special ASCII text codes. Files in these formats may be easily transmitted across computer networks, including global information networks like the Internet, and allow the Browsers to display text and images, and to play audio and video recordings. The Web utilizes these data file formats in conjunction with a communication protocol to transmit such information between servers and workstations. Browsers may also be programmed to display information provided in an eXtensible Markup Language (“XML”) file, with XML files being capable of use with several Document Type Definitions (“DTD”), thus being more general in nature than SGML or HTML. The XML file may be analogized to an object because the data and the stylesheet formatting are separately contained (formatting may be thought of as methods of displaying information; thus, an XML file has data and an associated display method).
The term “personal digital assistant” or “PDA” refers to any handheld, mobile device that combines computing, telephone, fax, e-mail and networking features. The terms “wireless wide area network” and “WWAN” refer to a wireless network that serves as the medium for the transmission of data between a handheld device and a computer. The term “synchronization” refers to the exchanging of information between a handheld device and a desktop computer either via wires or wirelessly. Synchronization ensures that the data on both the handheld device and the desktop computer are identical.
In wireless wide area networks, communication primarily occurs by transmission of radio signals over analog, digital cellular, or personal communications service (“PCS”) networks. Signals may also be transmitted through microwaves and other electromagnetic waves. Wireless data communication may take place across cellular systems using second generation technology such as code-division multiple access (“CDMA”), time division multiple access (“TDMA”), the Global System for Mobile Communications (“GSM”), personal digital cellular (“PDC”), or through packet-data technology over analog systems such as cellular digital packet data (CDPD”) used on the Advance Mobile Phone Service (“AMPS”).
The terms “wireless application protocol” and “WAP” refer to a universal specification that facilitates the delivery and presentation of web-based data on handheld and mobile devices with small user interfaces.
Bus 212 allows data communication between central processor 214 and system memory 217, which may include read-only memory (ROM) or flash memory (neither shown), and random access memory (RAM) (not shown). RAM may be utilized as memory into which operating system and application programs are loaded. ROM or flash memory may contain, among other software code, Basic Input-Output system (BIOS) for controlling basic hardware operation such as interaction with peripheral components. Applications resident with computer system 210 may be stored on and accessed via computer readable media, such as hard disk drives (e.g., fixed disk 244), optical drives (e.g., optical drive 240), floppy disk unit 237, or other storage medium. Additionally, applications may utilize electronic signals modulated in accordance with a particular application and data communication technology when accessed via network modem 247 or interface 248 or via other telecommunications equipment (not shown).
Storage interface 234, as with other storage interfaces of computer system 210, may connect to standard computer readable media, such as fixed disk drive 244 for storage and/or retrieval of information. Fixed disk drive 244 may be part of computer system 210 or may be separate and accessed through other interface systems. Modem 247 may provide direct connection to remote servers via a telephone link or to other computers on the Internet via an internet service provider (ISP) (not shown). Network interface 248 may provide direct connection to remote servers via direct network link to the Internet, for example by a POP (point of presence). Network interface 248 may provide such connection using wireless techniques, such as by digital cellular telephone connection, Cellular Digital Packet Data (CDPD) connection, digital satellite data connection, or the like.
Many other devices or subsystems (not shown) may be connected in a similar manner (e.g., document scanners, digital cameras and so on). Conversely, all of the devices shown in
The illustrated plurality of data points 306 represents raw analytical data collected during the analysis of a sample. Each of the plurality of data points 306 of chromatogram 300 is assigned a grammar element (see, e.g., <B>, <R>, <P>, and <F> of
Sample analysis component 402 of analytical instrumentation 400 produces raw data which is collected by data collection component 404 during the analysis of a sample. The collected raw data is communicated to client 112 or server 110, for example, through network 114 (
Analytical instrumentation 400 may include as an integral component client 112 with software 116.
Analytical instrumentation 400 may include a variety of instrumentation capable of analyzing various types of samples. By way of non-limiting example, sample analysis component 402 of analytical instrumentation 400 may include chromatography instrumentation, such as liquid chromatography instrumentation. Data collection component 404 may include mass spectrometric detection instrumentation used (in conjunction with chromatography instrumentation) in techniques such as chemical compound analysis. Additionally, analytical instrumentation 400 may include polymerase chain reaction detection instrumentation (e.g., micro-well plate readers, gel readers, and real-time PCR instrumentation) used in techniques such as nucleic acid analysis. Further, analytical instrumentation 400 may include enzyme-linked immunosorbent assay instrumentation and associated detection instrumentation used in techniques such as protein analysis. Thus, the disclosed syntactical system and method may be used in the analysis of chromatograms representing data from a variety of sample types including, but not limited to, chemical compounds, nucleic acids, proteins, tissues, emulsions and plasmas, gases, and liquids. As such, analytical instrumentation 400 may include instrumentation suitable for the analysis and collection of raw data generated for a variety of samples.
X-axis 302 is depicted in
The plurality of data points 306 represents the raw data (e.g., produced and collected by analytical instrumentation 400 during analysis of a sample) associated with one or more characteristics of the analyzed sample. Specifically, each of the plurality of data points 306 in
Smooth trace 308 represents a “smoothing” of the raw data represented by plurality of data points 306. As will be described in further detail below, according to embodiments of the disclosed syntactical system, the raw data (represented by plurality of data points 306) may be “smoothed,” (e.g., corrected for noise induced variances and other distortions) by various methods or algorithms. In general, “noise” includes any variance which may alter or disrupt the representations of empirical data on a chromatogram. Ideally, smoothing reduces or eliminates noise variances without distorting the values of the raw data represented on a chromatogram.
First peak 310 and second peak 310′ (collectively referred to as “data peaks”) are also depicted. Data peaks represent high points, or localized areas within chromatogram 300, indicating characteristics of the analyzed sample. The identification and location, as well as other characteristics, associated with data peaks are often important in the analysis of the samples. For mathematical simplicity herein, data peaks are modeled as possessing a Gaussian shape according to Gauss's equation:
Although described herein according to Gauss's equation, it should be understood that the disclosed syntactical method may also be utilized with data peaks described by other equations including, but not limited to, the Frazer-Suzuki Model:
(where h is the peak height, m is the peak mean, a is related to the peak width, and a is an adjustable parameter that determines the extent of skewedness, when a=0 the peak has no skew, when a>0 the peak is skewed to longer times (shows tailing), when a<0 the peak is skewed to shorter times (shows peak fronting));
(where the parameters are the same as the last peak shape, except b>0);
(where A is the peak height, tR is the peak maximum, σ is related to the peak width, τ is related to peak skewedness, and erf( ) is the error function); and
(for example when describing peaks having different rise and fall widths, where h is the peak height, m is the peak maximum, and σ1 and σ2 are proportional to peak width). Other models for describing peaks, which are not shown herein but are within the scope of the disclosed system and method and which are known to those of ordinary skill in the art, include the Generalized Exponential Model, the Lognormal Function Model, and the Chesler-Cram Model. As is described in detail herein, the instant disclosure provides a method and system for accurately determining the presence and location of one or more data peaks within a chromatogram.
Bootstrapping as used in the present disclosure generally involves augmenting a statistically small sample with data values derived from a random sample (with replacement) from the original data set. For example, the statistical technique of bootstrapping may be used to create pseudo replicate chromatograms. These replicates have the chromatographic noise randomly redistributed in such a way that its effect on the resulting calculated data points may be averaged. In one embodiment, a bootstrap is effected by first processing the chromatogram using an optimum smoothing filter. Then the smooth trace is subtracted from the raw chromatogram to create a vector of differences or deviations which, in the absence of distortion, is the noise. At this point a predetermined number of new items, e.g. 100 new noise vectors, are created by randomly selecting values, with replacement, from the difference or deviation vector. In turn, in this exemplary embodiment, the 100 noise vectors are added to the smoothed chromatogram to generate 100 pseudo replicate chromatograms. A system and method for bootstrapping replication is disclosed in U.S. application Ser. No. 13/336,173, filed Dec. 23, 2011, entitled “Chromatographic Peak Identification using Bootstrap Replication Object Oriented System and Method,” incorporated herein by reference in its entirety.
While the syntactical method depicted in flow chart 600 applies smoothing, the use of non-smoothed data (raw data) may also be used in this syntactical method and is thus within the scope of the present disclosure. For example, when a statistically significant number of replicate samples are analyzed, non-smoothed raw data may be preferred. Additionally, when “noise” is statistically insignificant, it may be preferred to use non-smoothed data.
Referring next to step 606 of
By way of further example, step 606 may include analysis of a sample (by analytical instrumentation 400) without replicates. Each raw data point from the sample may then be smoothed by any manner within the scope of step 604. Replicate data for each smoothed data point may then be synthetically generated by application of a mathematical theorem such that each data point 306 of the chromatogram represents a plurality of (computer generated) data points corresponding to the same x-axis location. Such may provide increased statistical confidence that each data point 306 represented on chromatogram 300 accurately represents the characteristic of the analyzed sample without requiring analysis of a statistically significant number of replicate samples.
An alternative method of synthetically generating replicate data for each data point 306 within the scope of step 606 of the present disclosure includes analyzing the variability present within each data point 306. For example, when a sample has been analyzed in replicate, but not with a statistically significant number of replicates, the variance (or error) within each replicate of each data point 306 can be calculated and accounted for (e.g., averaged and subtracted) in synthetically generating a statistically significant number of replicates by application of a mathematical theorem. Such exemplary embodiment provides a system which provides increased confidence that each data point 306 represented on chromatogram 300 accurately represents the characteristics of the analyzed sample, while utilizing only a statistically insignificant or otherwise small number of replicates.
According to one embodiment of the disclosure, step 608 is carried out by computing a first derivative and a second derivative of the raw data of each of the plurality of data points 306 and comparing the derivatives of each data point to a value corresponding to a baseline that is normalized to zero. Another embodiment provides replication software that determines at least one data point in a graph created according to predetermined criteria for a set of chromatographic data, calculates a set of deviations from the at least one data point in each set of chromatographic data, and then calculates a set of replicated data points by combining a selected data point of chromatographic data and a randomly selected deviation. Finally, analysis software performs statistical analysis of the set of replicate data points. In a further embodiment, individual data points are used to create a “triple,” or three value vector, using the data value, its first derivative, and its second derivative. Once the individual triples are created, an iterative process of creating replicate data points continues until a sufficient number of triples are available for statistical analysis. Once the requisite sample size is observed and/or replicated, the data is then analyzed.
Further, it should be understood that the computation of the first and second derivative may use “smoothed” data for computing the first and second derivative values. For example, in an embodiment of the syntactical system in which the raw data includes noise variances, the raw data of each of the plurality of data points may be smoothed by any manner within the scope of step 604. The smoothed raw data may then be combined with replicate points (or replicated) according to any manner within the scope of step 606 (disclosed above), whereby the first and second derivative of each data point is computed.
With reference to step 608 of
As illustrated in
According to an embodiment of the syntactical system and method, data points 306 in which the first and second derivates are determined to be statistically insignificant from zero are assigned a grammar element of <B>, representing a baseline. Data points 306 in which the first and second derivatives are both positive values (and having statistically significant positive differences from zero) are assigned an <R> grammar element, representing a rising edge. Data points having a first derivative statistically insignificant from zero and a positive second derivative are assigned a <P> grammar element, representing a peak. Data points having a negative first derivative and a positive second derivative are assigned an <F>, representing a falling edge grammar element. The particular letters associated with the grammar elements are immaterial to the present invention, and are assigned based on language and terminology preferences.
Further, according to embodiments of the disclosed syntactical system, statistical significance may be determined, for the purpose of assigning grammar elements, based on preset limits which relate to the difference of the first derivative from zero, and the difference of the second derivative from zero. In one such case, each data point 306 having first and second derivative values within the preset limits would be assigned a <B> grammar element indicating both the first and second derivative values are statistically insignificant from zero. Likewise, when both the first and second derivatives have values which are positive, and outside the preset limits, the data point 306 is assigned an <R> grammar element indicating that the first and second derivate values are both positive and statistically significant from zero.
In a typical chromatograph, noise is added to a signal. When such noise then modifies the derivatives of measured data points and derivatives estimated in filters, the filters provide the derivatives but these are affected by the noise. The disclosed bootstrapping captures the noise of a chromatogram and redistributes it. For example, by performing one hundred bootstraps at each selected time, one hundred different pieces of noise are placed onto the signal; thereby, the effect of the noise on the derivatives is determined in order to modify the assignment of grammar elements, because the grammar element type depends upon the derivatives. Accordingly, by simply bar graphing each selected point in time, the effect of the chromatographic noise on the assignment of the grammar may be seen. As shown in the example of
Additionally, in some further embodiments of the disclosed system in which data points 306 are combined with corresponding data points of replicates (as discussed in step 606 of flowchart 600), statistical significance may be defined by the standard deviation values of the first and second derivatives of each of the data points 306.
Further, additional embodiments of the disclosure may also utilize a “predictive value” based on the type of assigned grammar element of each of the data points 306 positioned adjacent to each subject data point 306 along the x-axis 302. In general, peaks such as first peak 310 and second peak 310′ of chromatogram 300 follow similar grammar element orders (e.g., <B><B><B><R><R><R><P><P><P><F><F><F><B><B><B>). Therefore, a predictive value (representing the likelihood of what an adjacent grammar element will be) may be computed based on the grammar element adjacent to a data point 306. Thus, a data point which has an adjacent and prior data point assigned a <R> grammar element, and an adjacent and later data point assigned a <P> grammar element, will have a predictive value favoring one of the grammar elements <R> or <P> being assigned thereto based on probability. In another example, suppose there is a sequence of grammar <R><R><R><B><P><P><P><F><F><F>. The correct peak syntax does not occur because of the orphan <B>. By looking at the grammar distribution for that point, it is possible to determine if it can be reassigned as <R> or <P>. As a numeric example, if out of 100 bootstraps there are 40 <B>, 38 <R> and 22 <P>, a reasonable tactic would change <B> to <R> and yield the correct peak syntax. Whereas, if there are 90 <B>, 7 <R>, and 3 <P>, the apparent peak is most likely not real.
Referring next to step 610 of
Further, although a grammar segment may be assigned to a region of a chromatogram 300 comprising all identical grammar elements (assigned to the data points 306 therein), it is possible and generally the case that grammar segments will contain some data points having non-identical grammar elements assigned thereto. For example, a region of a chromatogram 300 represented by a grammar segment comprising the indices type <R> may contain at least one data point 306 that is represented by a grammar element <B>. Furthermore, because grammar segments may contain data points having non-identical grammar elements assigned thereto, thresholds may be utilized in regard to the assignment of grammar segments to regions of a chromatogram 300 in which not all the adjacent grammar elements are identical types. For example, intense peaks typically show little noise (e.g., the two <P> segments shown in
Remaining with
Upon assigning grammar segments to respective regions of chromatogram 300 having concentrations of the same grammar elements (assigned to adjacent data points 306), a segment list may be established. As used herein, a segment list comprises a vector representing the grammar segments of a data set, such as represented by chromatogram 300. The segment list is generally structured in an ordered manner based on the position (e.g., within the data set represented by chromatogram 300) each grammar segment is assigned. For example, one segment list within the scope of the disclose embodiment is ordered from the grammar segment which is “earliest in time” to the “latest in time.” Other arrangements are possible depending on the variable for which each segment is associated.
Moving to step 612 of
The peak syntax <R><P><F> represents what is considered a basic peak whereas the peak syntax <R><P><R><P><F> represents peaks having a “shoulder” on the rising edge. The peak syntax <R><P><F><P><F> represents peaks with a “shoulder” on the falling edge. A shoulder may be caused by, for example, two compounds in a sample having nearly identical retention times. For example, if one of the compounds, possibly a contaminant, has a lower concentration (or produces a weaker response with the data collection component 404) a shoulder along an edge of the peak may result.
The analysis of the segment list as described at step 612 also eliminates identification (or “calling”) of peaks which are not valid peaks, but which exhibit “peak-like” features formed by noise, background and other variances. For example, analysis of the segment list as disclosed by step 612 eliminates identification of regions of a chromatogram having a <B><R><B> region.
Referring next to step 614 of
According to one embodiment of the disclosed system, the probability of assignment is determined by examining the extent to which a <P> grammar segment is contaminated with <B> grammar types. As explained above, it is possible that a grammar segment may represent a region of a chromatogram 300 which contains some contaminating data points. By determining the percentage of <B> grammar types (representing contaminating data points) within a <P> grammar segment, a probability of assignment is determinable.
Peak probability may be estimated by a heuristic using the number of <B> “contaminations” for each point associated with the <P> segment. The average of this number may then be used in the following exemplary method; this heuristic eliminates almost all “accidental” peak syntaxes that are due entirely to noise. A method for calculating the probability of assignment according to the syntactical system disclosed herein is given by the following heuristic theorem: (a) average the number of <B> grammar elements (avgB) across the <P> grammar segment; (b) divide this value by 100 and subtract from 0.5; (c) multiply this value by 2; and (d) square the result. Expressed as an equation this theorem is represented by:
p=[2(0.5−avgB/100)]2.
Although not depicted, it is within the scope of the disclosed syntactical system that a threshold regarding the probability of assignment may be assigned. For example, in order to identify a peak syntax as a valid data peak, the <P> grammar segment must have a probability of assignment value above the threshold percentage. In some cases a probability of assignment of greater than 80% is reasonable. Thus, assuming an 80% probability of assignment threshold, based on the heuristic theorem outlined above, a <P> grammar segment within one of the peak syntaxes (disclosed above) must also have a probability of assignment value above 80% before the peak syntax is identified as a data peak.
Referring next to step 616 of
With reference to peak list 800 of
Data peak information 806 of peak list 800 may be configured to include various data values derived from the process of identifying data peaks and/or the process of analyzing identified data peaks. By way of example, data peak information 806 may include data values derived from the process of identifying data peaks such as peak number 808 (corresponding to the individual peaks identified by the disclosed syntactical system), peak probability 810 (corresponding to the probability of assignment value as discussed above), start index 812, apex index 814, and end index 816, (corresponding to the individual data points in sequential order at which the identified peak syntax begins, the apex is located, and the peak syntax ends, respectively), and start time 813, apex time 815, and end time 817 (corresponding to the x-axis position at which the identified peak syntax begins, the apex is located, and the identified peak syntax ends, respectively).
Additionally,
(where the parameter Δt is given by Δt=(tL−t1)/(L−1)). In one embodiment, if less than five data points describe the peak, a sum of areas (e.g., A=Δt(y1+y2+y3+y4) where Δt=(t4−t1)/(L−1)) may be used in calculating the peak area.
Other data peak information 806 depicted in
For example, and with specific reference to
(where yend2 is the end intensity 819 for peak no. 2; ystart1 is the start intensity 818 for peak no. 1; tend2 is the end time 817 for peak no. 2; tstart1 is the start time 813 for peak no. 1; and slope is base slope 824).
In a further exemplary embodiment of the disclosed system and method, the data points or ranges of the x- and/or y-axes may be selected for analysis. For example, in one embodiment of the instant disclosure a retention time (or other x-axis range) may be selected for identification and analysis of data peaks specifically within that time period. If, for example, a retention time is selected, the data points within the selected retention time may be “fit” (or adjusted for analysis according to the methods described herein) using an exponentially-modified Gaussian (EMG) function. An exemplary EMG formula includes:
in which A is the peak amplitude, μ is the peak location, σ is the peak spread, and k is a shape parameter (the exponential decay constant). This equation is solved by using a standard non-linear least squares analysis using initial guesses for μ, σ, and τ based on parameters given in the peak list.
A “fitting” procedure, as described herein, has the ability to perform weighted fitting of the retained (or selected) data points and peaks. One method of weighted fitting utilizes a bootstrap distribution of grammar types (e.g.,
According to an embodiment of a fitting method within the scope of the present disclosure, all weight values have values from 0 to 100 (the number of replicates) depending upon the presence of contaminating data points (described in detail above) within the grammar segment.
When using an EMG function, as described herein, peak height and peak area may be determined for the fitted (selected or retained) data points. Peak height, for example, is determinable by numerically locating the function maximum. Note that in determining peak height, A is not used since it is the amplitude of the underlying Gaussian and not the skewed peak. As explained above, initial guesses for μ, σ, and τ are determined based on parameters given in the peak list. Once these estimates are obtained, the EMG equations (above) may be used to determine the function maximum. Further, peak area, when using an EMG function as described herein, is determined by numeric integration of the function. One advantage of using the EMG function disclosed herein, for peak height and area, is the additional signal-to-noise enhancement provided by the least squares procedure.
While various embodiments incorporating the present invention have been described in detail, further modifications and adaptations of the invention may occur to those skilled in the art. However, it is to be expressly understood that such modifications and adaptations are within the spirit and scope of the present invention.
Number | Date | Country | |
---|---|---|---|
61467216 | Mar 2011 | US |