A Bayesian method for inferring quantitative information from FRET data
 Catherine A Lichten^{1, 2} and
 Peter S Swain^{2}Email author
DOI: 10.1186/20461682410
© Lichten and Swain; licensee BioMed Central Ltd. 2011
Received: 14 February 2011
Accepted: 9 May 2011
Published: 9 May 2011
Abstract
Background
Understanding biological networks requires identifying their elementary protein interactions and establishing the timing and strength of those interactions. Fluorescence microscopy and Förster resonance energy transfer (FRET) have the potential to reveal such information because they allow molecular interactions to be monitored in living cells, but it is unclear how best to analyze FRET data. Existing techniques differ in assumptions, manipulations of data and the quantities they derive. To address this variation, we have developed a versatile Bayesian analysis based on clear assumptions and systematic statistics.
Results
Our algorithm infers values of the FRET efficiency and dissociation constant, K_{ d } , between a pair of fluorescently tagged proteins. It gives a posterior probability distribution for these parameters, conveying more extensive information than singlevalue estimates can. The width and shape of the distribution reflects the reliability of the estimate and we used simulated data to determine how measurement noise, data quantity and fluorophore concentrations affect the inference. We are able to show why varying concentrations of donors and acceptors is necessary for estimating K_{ d } . We further demonstrate that the inference improves if additional knowledge is available, for example of the FRET efficiency, which could be obtained from separate fluorescence lifetime measurements.
Conclusions
We present a general, systematic approach for extracting quantitative information on molecular interactions from FRET data. Our method yields both an estimate of the dissociation constant and the uncertainty associated with that estimate. The information produced by our algorithm can help design optimal experiments and is fundamental for developing mathematical models of biochemical networks.
Background
Proteins work together continuously in the cells of all living things, generating cascades of reactions that are vital for life. To fully understand each individual protein's task requires discovering the timing, location, and strength of its interactions. To acquire this detailed information, fluorescence microscopy methods are ideal because they can provide dynamic, singlecell data at high spatial resolution [1, 2]. One fluorescence tool that enables researchers to observe protein interactions in living cells is Förster resonance energy transfer (FRET). FRET data has the potential to yield biochemical constants, which are critical for modeling biological systems, but measuring protein interactions from FRET data requires careful quantitative analysis.
FRET is a physical process where a molecule in an excited energetic state (the donor) transfers energy to a nearby groundstate molecule (the acceptor). The chance that an excited donor will transfer its energy to an acceptor (known as the FRET efficiency, E_{ fr } ) depends on the distance between the donor and acceptor (which must be between 1 and 10 nm for FRET to occur), their relative orientation, and the extent to which the donor's fluorescence emission peak overlaps the excitation peak of the acceptor [3]. Optimal conditions for energy transfer occur when the distance between donor and acceptor is minimal, the molecules' electric dipoles are aligned, and the spectral overlap is significant.
When FRET is used to study protein interactions in living cells, the proteins under investigation are fused to fluorescent tags (often variants of the green fluorescent protein) that act as the donors and acceptors. When the proteins interact, they bring the fluorescent tags together so that FRET may occur. FRET increases the number of photons emitted by acceptors and reduces both the number of photons emitted by donors and the donor's fluorescence lifetime. To observe these effects, the most common techniques for collecting FRET data include fluorescence lifetime imaging (FLIM) and using a fluorescence microscope or spectrofluorometer to record fluorescence intensity after exposing samples to light that mainly excites either donors or acceptors [4–6].
For FRET data to reveal information about the underlying protein interactions, complicating factors must be dealt with. One confounding issue is spectral contamination, which arises from the requirement that the donor and acceptor must have overlapping spectra for FRET to occur. Due to the overlap, excitation light intended to excite one fluorophore may also excite the other (spectral crosstalk), and, conversely, one fluorophore may emit photons in the emission range of the other (spectral bleedthrough). Several FRET analysis methods address this issue by calculating a FRET index, which is the FRET signal corrected for contamination from spectral overlap and normalised by donor or acceptor concentrations [7–12]. Although they are straightforward to calculate, FRET indices often bear an indirect and nonlinear relationship to the underlying concentrations and strength of protein interactions [13, 14]. Alternatively, the ratio of donors to acceptors and the apparent FRET efficiency, which is the product of the intrinsic FRET efficiency and the fraction of donors (or acceptors) in complex, can be calculated [15–19, 14]. Such quantities can be measured, provided calibrations are carried out using constructs consisting of a donor linked to an acceptor [17, 19], but again do not relate directly to the dissocation constant (K_{ d } ) of an interaction.
Another significant challenge is that both the K_{ d } and the FRET efficiency, E_{ fr } , affect the observed signals, and so neither can be determined independently of the other based on data from a single sample. E_{ fr } has been estimated from separate acceptor photobleaching [14] and FLIM experiments [15], but these approaches have drawbacks. Acceptor photobleaching is slow, irreversible, often fails to bleach all acceptors, and yields the intrinsic FRET efficiency only when all donors are in complex with acceptors [4–6]. FLIM requires specialized equipment, is often slower than standard fluorescence imaging, and analysis of FLIM data is complicated by the multiexponential fluorescence decays of fluorescent proteins [20]. There is however an alternative to directly measuring E_{ fr } : Many values of K_{ d } and E_{ fr } will be consistent with data from a single cell or sample, but, by taking a set of data from samples that contain varying concentrations of donors and acceptors and analyzing it altogether, it is possible to find the unique values of K_{ d } and E_{ fr } that are consistent with the ensemble [16, 21].
Given these different approaches, it is not always obvious which one should be applied in different situations and there is no consensus on the statistical analysis, with each method processing the data differently and most giving no procedure to test the reliability of any estimates. A general method for inferring the K_{ d } along with the uncertainty of that inference is necessary for the standardization of quantitative FRET measurements, the design of informative experiments, and for providing in vivo parameters for developing models of protein networks [22–24].
Here we propose a systematic analysis method that explicitly includes models of the photophysics and underlying chemical interactions and of measurement noise. Building on a spectral model for FRET [25], we develop a Bayesian algorithm to infer both the interaction strength (in terms of the in vivo K_{ d } ) and the FRET efficiency. Applying our algorithm to simulated data, we gain insight into how both experimental design factors such as measurement noise, number of measurements, fluorophore concentrations and ratios, and prior information impact our estimate and its uncertainty.
Results and Discussion
Algorithm
Overview of the mathematical model
Our model relies on a few other assumptions. First, we assume that donors and acceptors may be free or form bimolecular, donoracceptor complexes (i.e. [D] + [A] ⇌ [DA]) with dissociation constant . Whether free or in complex, the fluorophores undergo fluorescence excitation and emission (Figure 1B). In complexes, the donor and acceptor are together and FRET may also occur. We assume that FRET due to random collisions between donors and acceptors occurs seldom enough to be neglected. Finally, we assume that donoracceptor complexes all have the same FRET efficiency, which is denoted E_{ fr } and refers to the fraction of instances where exciting a donor in complex leads to excitation of the acceptor.
where C is a vector of the concentrations of fluorophores (C = ([D], [A], [DA]) ^{ T } ), I_{ obs } is a vector of the fluorescence intensities observed for each spectral channel, and M is a matrix of the photophysical parameters that relate the concentrations of fluorophore to the observed intensities (Figure 1B).
The observed fluorescence intensities could represent data obtained from fluorescence microscopy, spectrophotometry or a flow cytometer. Microscopy images would require standard image processing steps for quantification, such as subtracting background fluorescence and defining regions of interest such as areas within the cytosol or nucleus for localized fluorescence [26].
Photophysics in the mathematical model
The matrix M contains all the relevant information about the photophysical processes we model. In addition to the expected direct excitation and emission, we include resonance energy transfer, crosstalk (unintended excitation) and bleedthrough (acceptors emitting in the donors' typical emission range).
Here the subscript i refers to the spectral channel (for the threecube case, it is 1 for the donor channel, 2 for the acceptor channel, and 3 for the FRET channel) and the superscript (S) refers to the fluorescent species (D, the donor; A, the acceptor; and DA, the complex). The variable I_{ i }is the illumination intensity for the excitation wavelength of channel i; is the molar extinction coefficient of species (S) with excitation wavelength from channel i; Q^{(S) }is the quantum yield of species (S); and is the product of the emission of species (S) at the wavelengths of channel i and the sensitivity of the detector to the emitted photons. We describe a calibration procedure for obtaining these values in the Methods.
Continuing the matrix multiplication yields analogous expressions for and .
Molecular interactions in the mathematical model
with [D] = [D_{0}]  [DA] and [A] = [A_{0}]  [DA].
Bayesian inference
The observed intensities for each channel are I_{ D } , I_{ A } , and I_{ F } . , and denote the predicted intensities and σ_{ D } , σ_{ A } and σ_{ F } measure the magnitude of the measurement noise in each channel and are approximated by the variances of the data in that channel (Methods). For fitting, we use a Gaussian approximation of Eq (7) based around the values of D_{0} and A_{0} that maximize the likelihood (see section on marginalization of D_{0} and A_{0} in the Methods). Combining the likelihood and prior probability distribution allows us to calculate the posterior probability distribution and determine the most probable values for our parameters of interest.
Illustration of method
To obtain the posterior probability distribution that corresponds to this data for two parameters of interest, K_{ d } and E_{ fr } , we used two methods, the results of which should agree. First, because we are restricting our analysis to two parameters, we can visualize the distribution by computing the energy, the negative logarithm of the posterior probability, over a grid of values of K_{ d } and E_{ fr } . The resulting energy surface, shown in Figure 2B, was minimal around the true values of the parameters. If we were to extend our analysis to more than two parameters, including uncertainty in the constants for instance, we would use a Markov chain Monte Carlo (MCMC) algorithm to sample from the parameter space. To show that the MCMC algorithm gives results consistent with the energy surface, we used the algorithm to sample the posterior probability distribution for K_{ d } and E_{ fr } . We ran the algorithm three times, starting each time at different initial values. All three walks converged on the same small region of equally probable values: they are superimposed on the energy surface in Figure 2B. Both methods therefore recover the true values used to generate the data as optimal parameter values. The approximate posterior probability distributions for K_{ d } and E_{ fr } are shown in Figure 2C. The distributions are estimated as the histograms of the three walks, excluding the burnin period before convergence [28]. They peak near the parameter values used to simulate the data, indicating that the highly probable values for K_{ d } and E_{ fr } predicted by the methods are accurate.
Inferring other quantities from FRET data
To further illustrate the versatility of our method, we show that we can also use our model and Bayesian framework to estimate other parameters. Two instrumentindependent parameters that have been a focus of interest are the apparent FRET efficiency, , and the ratio, [15–19, 14]. The analogous apparent FRET efficiency for the acceptor, , is the product of E_{ d } and r_{ da } . We can estimate these quantities using our method, provided that a calibration has been carried out with cells expressing only donors, only acceptors, and only a donoracceptor construct. The FRET efficiency of the construct need not be known. Supposing we have calibrated the parameters of Eq 2 relative to , which is taken to be unity, then we can express Eq 2 just in terms of [A_{0}] with [D_{0}] = r_{ da } [A_{0}] and E_{ fr } [DA] = E_{ d } r_{ da } [A_{0}]. We can analytically maximize the posterior probability of r_{ da } and E_{ d } as a function of [A_{0}] by setting the derivative of the probability with respect to [A_{0}] equal to zero and solving for this optimal [A_{0}] in terms of r_{ da } and E_{ d } . Our MCMC algorithm can be used to sample values of r_{ da } and E_{ d } that are consistent with the data.
Testing
Algorithm reflects data quality
An algorithm for estimating parameter values should report not just an estimate of the most probable parameter values but also the reliability of that estimate. To evaluate this aspect of our algorithm, we measured both the error and the uncertainty of its output. We defined the error as the discrepancy between the mean of the posterior probability distribution and the true value. We calculated error as , meaning that a perfect estimate would have zero error. Because under experimental conditions we would not know the true value, we also calculated the uncertainty of the estimate as an indicator of the reliability even when true values are unknown. The uncertainty corresponds to the width of the posterior probability distributions for K_{ d } and E_{ fr } . To prevent the magnitude of the parameter of interest from skewing the uncertainty, we use the relative uncertainty, calculated as the coefficient of variation (the standard deviation divided by the mean).
Next, we verified that gathering more data would improve the quality of the estimates of K_{ d } and E_{ fr } . Such data could be obtained by, for example, collecting several images of the same sample or dividing a region of interest into subregions. The examples in Figure 3B show that with more measurements, the optimal region became smaller and the peak of the posterior probability distribution for K_{ d } moved closer to the true value (see Figure 3B inset). Figures 3D and 3F show, as expected, that increasing the number of measurements decreases the error and uncertainty for the K_{ d } estimate. The effect of data quantity on the error and uncertainty of the E_{ fr } estimate was similar (data not shown).
Overall, our algorithm reliably reflects the quality of the data analyzed in the uncertainty it gives of its estimate and accurately infers the values of K_{ d } and E_{ fr } for 10 measurements per cell per channel with 10% measurement noise. We also note that in Figures 3C and 3D, the mean error in K_{ d } remained close to zero, indicating that neither measurement noise nor number of measurements systematically biased the location of the peak.
The total amount of donor, [D_{ 0 }], and the total amount of acceptor, [ A _{ 0 }], affect inference of K_{ d }and E_{ fr }
Inferring unique values of K_{ d } and E_{ fr } requires variations in [D_{0}] and [A_{0}]
A challenge in analyzing FRET data is that both E_{ fr } and K_{ d } affect the extent of FRET that may occur, making it difficult to tease out the contribution of each parameter. In general, for data from a single pair of donor and acceptor concentrations, a weak E_{ fr } and strong K_{ d } can give rise to the same observations as a strong E_{ fr } and weak K_{ d } . However, because our algorithm can analyze data from multiple cells at once, it can overcome this challenge.
The difficulty in determining K_{ d } without knowing E_{ fr } or vice versa can be overcome by analyzing data from samples containing varying fluorophore concentrations [16, 21]. To quantitatively justify how varying concentrations facilitates parameter fitting, we simulated data from three cells containing different concentrations of donors and acceptors. As Figure 4C shows, analyzing data from two different cells decreased the size of the region of equally probable values. Combining data from a cell containing [D_{0}] = [A_{0}] = 1 μM with data from a cell containing 0.5 μM eliminated high values of K_{ d } (Figure 4C); combining data from a 1 μM cell and a 5 μM cell eliminated low values of K_{ d } (Figure 4C, inset). As Figure 4D indicates, analyzing data from all three cells (0.5 μM, 1 μM, and 5 μM) together eliminated higher and lower K_{ d } values, leaving a small region of equally probable values that included the true values. To show why varying fluorophore concentrations is effective, we analyzed data from each of the three cells in Figure 4D individually. The optimal regions for each cell are plotted in Figure 4E and clearly intersect at the true value. Varying the concentrations more broadly can further shrink the solution region (Figure 4F).
Inference is limited if [D_{0}] = [A_{0}] ≫ K_{ d } or [D_{0}] = [A_{0}] ≪ K_{ d }
By finding the posterior probability distribution of K_{ d } , our algorithm predicts when a range of K_{ d } values will be consistent with the data. First, we simulated data with equal concentrations of acceptors and donors that were very low or very high relative to K_{ d } . As shown in Figure 5A, the approximate posterior probability distributions of K_{ d } for data simulated with relatively low or high concentrations form plateaus instead of single peaks. The plateaus indicate that a range of K_{ d } values is equally probable and consistent with the data. The posterior distribution obtained for [D_{0}] = [A_{0}] ≪ K_{ d } reveals that K_{ d } could be any number greater than approximately 10^{6}M; the distribution for [D_{0}] = [A_{0}] ≫ K_{ d } reveals that K_{ d } < 10^{6}M.
This analysis illustrates how posterior probability distributions for the parameters of interest can be more informative than single values. For example, information from posterior distributions can be useful for improving experimental design. If one were to obtain plateaued distributions like the two shown in Figure 5A, one could recognize that the fluorophore concentrations were too low or high relative to K_{ d } and devise a more informative experiment.
The ratio [D_{0}]:[A_{0}] affects inference
We also used our algorithm to explore the effects of varying the ratio, [D_{0}] : [A_{0}], on the algorithm's ability to infer K_{ d } (Figure 5B) and how these effects arise. While other authors have reported that FRET data becomes increasingly unreliable as the ratio [D_{0}] : [A_{0}] deviates from unity [13], they measured how noise propagates in FRET formulas and did not directly address how the ratio impacts the measurement of interaction strength. As Figure 5B shows, the width of the approximate posterior distributions for K_{ d } broaden as the ratio increases, meaning that the uncertainty in the estimate increases. The peaks of the distributions however remain close to the true values. The same effect occurs when the ratio decreases (data not shown).
The insets in Figure 5 illustrate why the ratio affects the uncertainty, showing data from the donor and FRET channels in the presence and absence of FRET. Here, FRET contributes only a fraction of the observed signals. This small contribution is particularly evident in the FRET channel, where the change in the signal due to FRET is small compared to the measurement error: measurement error is 3% and the increase in the FRET channel from FRET is only 2.9% for [D_{0}] : [A_{0}] = 1 and drops to 0.7% for [D_{0}] : [A_{0}] = 10 (FRET is included by changing the FRET efficiency from 0 to 0.4). As the ratio increased, the relative shortage of acceptors meant that fewer complexes could form, making the contributions from FRET smaller and causing the uncertainty of the estimate to grow. In the absence of measurement noise, however, our algorithm can estimate K_{ d } even from very extreme ratios. These data also demonstrate that with our method, we can make inferences about K_{ d } even when FRET causes perceptible changes in only one channel (e.g. the donor channel here).
Knowing how spectral overlap and the ratio of donors to acceptors affect the inference of protein interaction strength helps make it possible to design informative experiments. For example, we find that in each channel, the difference generated by FRET depends on spectral overlap. In the donor channel, where FRET decreases the signal, the relative change is , meaning that the observed change depends on the difference between acceptor bleedthrough, , and donor fluorescence, . Analogous changes occur in the other channels. When [D_{0}] = [A_{0}], the change in the donor channel is proportional to , the change in the acceptor channel to and the change in the FRET channel to . In each channel, increasing the difference between and would make experiments more informative.
Prior information improves estimate
A further advantage of our method is its flexibility. The Bayesian framework makes it possible to incorporate additional details we know about the system as prior information, allowing us to more accurately represent the system being analyzed and potentially improve our estimate of the parameters of interest. To exploit this feature, we tested whether including additional information about the FRET efficiency would improve our inference of E_{ fr } and K_{ d } . Information about E_{ fr } could be obtained, for example, from lifetime imaging experiments [29].
Summary of testing
We have shown, using typical, simulated FRET data, that our algorithm accurately recovers the parameters of interest. It responded consistently and intuitively to changes in the amount of measurement noise present in the data and the quantity of data. We also used the posterior probability distributions we obtain for the parameters to gain insight into how the magnitude and variation of the donor and acceptor concentrations affect the ability of the algorithm to infer K_{ d } . The algorithm gave informative results even when given data simulated with very high or low concentrations of donors and acceptors relative to the K_{ d } although, as expected, with this data it could not converge on a unique pair of values for K_{ d } and E_{ fr } but gave upper or lower bounds. Gaining an understanding of how experimental parameters such as measurement noise, number of measurements, spectral overlap and fluorophore concentrations affect inference allows experimenters to design optimal experiments that yield information with less uncertainty [24].
Conclusions
Fluorescence microscopy and FRET open a window onto the cell, allowing us to observe protein interactions as the cell functions as a complete system. However, for protein interaction information from FRET data to be integrated into models and improve our understanding of biological systems, it must be reliably quantified, including the uncertainty in the estimates produced [27].
For this purpose, we have presented an algorithm for inferring the most probable values of the absolute or relative in vivo dissociation constant and the FRET efficiency from threecube FRET data. Our algorithm produces estimates in terms of the posterior probability distribution for the parameters of interest. Posterior probability distributions yield more extensive information than a single value can provide, conveying the reliability of the estimates through the shape and width of the distribution and giving upper or lower bounds on parameters if the data is not more informative. Our method requires only basic threecube FRET data but has the flexibility to use data from more spectral channels and incorporate other types of data, such as a separate measure of the FRET efficiency. We have focused on using our algorithm to fit E_{ fr } and K_{ d } , but it can also infer the apparent FRET efficiency and ratio of donors to acceptors, other quantities sometimes used as measures of FRET [15–19, 14].
In the examples described here, we make a few assumptions, but these are not necessarily part of our methodology. First, we use molar extinction coefficients that must be measured separately or taken from the literature and assume that the literature measurements are valid in the cellular environment. Second, we assume Gaussian measurement noise, but our model could be straightforwardly adapted to include lognormal or other types of noise. Finally, we have not taken into consideration photobleaching, incomplete labelling or dark states, but our model could readily be extended to include these factors.
We have used simulated data to illustrate principles that apply to real data, showing how, in practice, it is best to infer the dissociation constant from FRET data. Threecube FRET experiments are a wellestablished experimental technique [3–6]. For our method, the calibration procedure we describe in the Methods for quantifying the constants of Eq (2) is also necessary. The procedure is similar to existing calibration methods. Measuring relative values of and is a standard part of FRET data collection, necessary for calibrating the extent of spectral bleedthrough and crosstalk. We require calibration with a donoracceptor construct to relate the brightness of the donor to that of the acceptor, which is necessary for obtaining the relative K_{ d } . This calibration is not always a part of standard FRET data collection, but it has been used in several studies [8, 18, 17, 4, 14, 19, 21]. Alternatively, measuring the absolute brightness per molecule, which is necessary for measuring the absolute K_{ d } , is more technically challenging but has been achieved [30, 31].
We have demonstrated that to infer the values of K_{ d } and E_{ fr } , it is important that the FRET data analyzed come from samples containing varying concentrations of donor and acceptortagged proteins. The precise amount of variation required is difficult to predict because it depends on the measurement noise present in the data, the number of measurements made, and the extent of spectral bleedthrough and crosstalk. Naturally occurring variation in protein expression from cell to cell generated sufficient variability for estimating the FRET efficiency and relative dissociation constant [21], at least in transiently transfected mammalian cells.
While a number of ad hoc methods exist for quantifying protein interactions using FRET, our method contributes something new in that it makes plain the spectral information being used and the biochemical assumptions made about the system. Our model is general: it is not specific to threecube data and could be used to analyze data with any number of spectral channels. It can be straightforwardly adapted to other experimental situations, for instance to measure the dimerization affinity of a homodimeric protein. Our approach is a Bayesian analysis that reveals the uncertainty in estimated parameters and produces informative results for data from a widerange of experimental setups. It focuses on determining what we can learn from experimental observations about the parameters of interest given clear assumptions and a systematic, statistical analysis based only on those assumptions.
Methods
Calibration of fluorescence constants,
To infer the values of the constants and and their uncertainty (due to measurement error), we can sample from posterior distributions for and given the calibration data. We will illustrate this procedure for a more complicated example below.
Determining the , which relate a complex undergoing FRET to its fluorescence in channel i, is more complicated because the depend on properties of both the donor and the acceptor. However, from Eq (3), , but . Therefore, , and so can be obtained through knowledge of the ratio of molar extinction coefficients at the excitation wavelength for channel i. The values of the molar extinction coefficients, ε ^{(D) }and ε^{(A)}, may not always be available at these wavelengths, but they can be estimated from literature values of the molar extinction coefficients (usually measured at the fluorophore's excitation peak) and the excitation spectra of the donor and acceptor [25]. Interpreting the excitation spectra as the probability of the fluorophore becoming excited and assuming that the extinction coefficient is proportional to the probability of excitation, we can use the excitation spectra to rescale the literature value of the extinction coefficient to the excitation wavelength of channel i. This estimate is valid provided that the molar extinction coefficients obtained from the literature are not significantly different from the molar extinction coefficients in the cellular environment of the experiment (or provided that the change in environment affects both donor and acceptor similarly).
When the relationship between brightness and concentration cannot be determined absolutely, relative values for and can be obtained from samples containing only donors and only acceptors, along with samples containing linked donoracceptor constructs. The constructs consist of a donor and an acceptor fluorophore separated by a short linker of 510 amino acids and have been used for FRET calibration in several studies [8, 18, 17, 4, 14, 19, 21]. The construct's FRET efficiency, , need not be known and can be determined using the procedure we describe below.
where , , and are the i^{ th } measurements in the donor, acceptor, and FRET channels, respectively. For a given sample, we assume that an equal number of measurements, n, will be made in each channel and σ quantifies the error of the measurements. The predicted intensities in channel k, , are given by Eqs (8), (9) and (10) and are a function of the constants , the concentrations of the species (donors, acceptors, or donoracceptor complexes), and also in the case of the donoracceptor construct. The full likelihood for all the calibration data together would be the product of three instances of Eq (11), one specified for each threecube experiment (donoronly, acceptoronly, or donoracceptor complex).
which is valid for the three cube experiments for each sample (donor, acceptor, or construct). For the donoronly sample, ; for the acceptoronly sample, ; and for the sample with the donoracceptor construct, the a_{ i } are replaced with . The posterior probability, including all the calibration data together, is obtained by multiplying the forms of Eq (12) for each of the three 3cube experiments.
For a given data set, we can infer and five of the six constants relative to the remaining one, for instance , which is set to unity. The numerator of Eq (12) remains unaltered by such a rescaling of the , and the alteration in the denominator is cancelled by the Jacobian required for the change in variables. One can use a Markov chain Monte Carlo method to sample the and from P_{calib}. Alternatively, one can use a numerical solver to find the most probable values by solving for the roots of the system of equations consisting of the derivatives of Eq (12) with respect to each of the six variables. Using this relative calibration procedure, the final K_{ d } values obtained would relate to the true K_{ d } by the scaling factor, for instance .
Data simulation
We designed our simulated data to mimic the key features of experimental data, which could come from various sources, such as fluorescence reader measurements of solutions of purified proteins or images of cells from fluorescence microscopy that have been processed and quantified. To simulate data, we wrote a function in Matlab (The Mathworks, Natick, MA) that takes as input E_{ fr } , K_{ d } , A_{ 0 }, D_{ 0 }, n, , and r where A_{ 0 }, D_{ 0 } are vectors of length m (representing m cells or regions within cells), n is the number of measurements made on each cell or vesicle, and r is the strength of measurement noise. The function outputs a set of simulated threecube FRET data from m samples with n measurements per sample.
For each pair of concentrations, [A_{0}] and [D_{0}], we calculate [D], [A], and [DA] using Eq (5). Next, we calculate the simulated experimental intensities I_{ D } , I_{ A } , and I_{ F } using Eq (1). Finally, we simulate measurement noise by adding Gaussian random numbers to the data. The variable r is a scalar between 0 and 1 that refers to the strength of the measurement noise relative to the mean of the observed signal. Noise with r = 10% would have Gaussian measurement noise with standard deviation that is 10% of the mean signal observed in each channel.
The constants corresponding to the donor, acceptor, and complex fluorescing in their respective channels are assigned the largest values. As donors and acceptors are often not equally bright, we set . In the FRET channel, the constants corresponding to bleedthrough from donors and crosstalk from acceptors have been set to approximately 20% of the constants for donor and acceptor in their respective channels because spectral overlap contributes significantly in the FRET channel. In the acceptor channel, smaller values are assigned to and to describe the donor undergoing crosstalk and, subsequently, either bleedthrough ( ) or FRET ( ) in the acceptor channel. It is unlikely that acceptors would emit photons detectable in the donor channel, so the constants corresponding to that process, and , are very small, but they are nonzero to show that any measurable spectral contamination can be included.
Incorporating prior information
Markov chain Monte Carlo (MCMC) estimation
To sample K_{ d } and E_{ fr } from the posterior probability distribution, we use a biased random walk. Although a simpler approach would be sufficient to explore two dimensions, we use this method because it will allow us to efficiently extend our search to sample other, additional parameters we may wish to infer, such as the values of .
We use the MetropolisHastings algorithm [32, 33]. It begins at a random location in parameter space and takes random steps, moving in up to 3 dimensions at a time with proposed steps drawn from a distribution that is symmetric about the current location. Proposals that increase the posterior probability are always accepted; those that decrease it are accepted with probability , where P (x^{ j } ) is the posterior probability of the proposed step and P (x^{j1}) is the posterior probability of the current location. The walk is run for a sufficiently long time (about 10,000 steps) to generate independent samples from the posterior distribution and the step size chosen to maintain an acceptance rate of 40  60% [28].
Once the walk has converged with the energy fluctuating around a minimum value, we record the steps taken and use the histogram of these sampled values as our estimate of the posterior probability distribution. From this estimated distribution, we obtain the mean and standard deviation of each parameter being inferred. The algorithm is summarized below.
Marginalization of D_{0} and A_{0}
We have defined the likelihood in Eq 7 and assume that the measurement noise in each channel is independent. Because we have a Gaussian model, the values of the measurement noise parameters, σ_{ D } , σ_{ A } and σ_{ F } , that maximise the posterior probability are approximately equivalent to the observed variances of the data from the donor, acceptor, and FRET channels, respectively [28]. However, it would also be possible to fit , and directly, along with K_{ d } and E_{ fr } .
To indicate that we have no knowledge about the values of D_{0} and A_{0}, we set the prior, P (D_{0}, A_{0}), to a constant for positive D_{0} and A_{0} (and 0 otherwise).
where ∇∇E is the Hessian, or matrix of secondderivatives of E with respect to D_{0} and A_{0}.
This approximation of the likelihood results in a Gaussian integrand, which we can then integrate analytically [34]. Note that we do not use the limits of integration (0, ∞) which would be appropriate for nonnegative concentration values. We instead use the limits ( ∞, ∞) to make the integral simple. It is a valid approximation provided that and are sufficiently large and it consistently yields appropriate results in practice.
where H is the determinant of the Hessian, . Although K_{ d } and E_{ fr } do not appear explicitly in the final form of Eq (18), both and H depend on K_{ d } and E_{ fr } .
Algorithm summary
Our algorithm for sampling from the posterior probability distribution of (K_{ d } , E_{ fr } ) with a prior probability distribution for E_{ fr } consists of the following steps:
1. Perform calibration to obtain values (absolute or relative) for the constants.
2. Define prior probability distributions for parameters to be inferred based on initial information that is known, if any.
3. Run Markov chain Monte Carlo algorithm:
Choose initial step and compute the posterior probability, , as outlined in (b) below.
For j = 2 to n,
 (a)
Choose proposal step .
 (b)
Compute the posterior probability, , for that step:
 i.
Find , the values of {D _{0}, A _{0}} that minimise the energy of the posterior probability using nonlinear optimisation (the NelderMead simplex algorithm implemented in Matlab's fminsearch function (The Mathworks, Natick, MA)).
 ii.
Compute using analytical expressions for the second derivatives of E computed in Mathematica (Wolfram Research, Champaign, IL) and exported to Matlab.
 iii.
Using Eq (18), compute the likelihood, .
 iv.
Using Eq (13), compute the prior, .
 v.
Compute the posterior probability distribution, P_{ j } , which is the likelihood times the prior probability.
 (c)
Check whether to accept the move to

If P_{ j }> P_{j1}, accept.

Otherwise, accept with probability .
Steps (a)(c) are repeated until j = n. After an initial burnin period where the energy reaches a minimum and the walk achieves a stationary distribution, record samples of K_{ d } and E_{ fr } .
4. Repeat step 3, varying initial (K_{ d } , E_{ fr } ). To ensure convergence, the stationary distributions of all walks should overlap [28].
Availability
We have made our data simulation and analysis software available at http://swainlab.bio.ed.ac.uk/software/FRET.
Declarations
Acknowledgements
We thank Marko Laine (Finnish Meteorological Institute) for providing his MCMC code and helpful feedback. We also wish to acknowledge Stephane Laporte, May Simaan and Jay Nadeau (McGill University) for useful discussions and Andrea Weisse, Bruno Martins, Christos Josephides, Clive Bowsher (University of Edinburgh), Nathan Scales (McGill University), and Vahid Shahrezaei (Imperial College London) for helpful comments on the manuscript. CL and PSS are supported by the Scottish Universities Life Sciences Alliance.
Authors’ Affiliations
References
 Verveer P, Bastiaens P: Quantitative microscopy and systems biology: seeing the whole picture. Histochemistry and cell biology. 2008, 130 (5): 833843. 10.1007/s0041800805175.View Article
 Megason S, Fraser S: Imaging in systems biology. Cell. 2007, 130 (5): 784795. 10.1016/j.cell.2007.08.031.View Article
 Lakowicz J: Principles of Fluorescence Spectroscopy. 2006, New York, NY: SpringerView Article
 Vogel SS, Thaler C, Koushik SV: Fanciful FRET. Sci STKE. 2006, 2006: re210.1126/stke.3312006re2.
 Piston DW, Kremers GJ: Fluorescent protein FRET: the good, the bad and the ugly. Trends Biochem Sci. 2007, 32: 40714. 10.1016/j.tibs.2007.08.003.View Article
 Hoppe A: Quantitative FRET microscopy of live cells. Imaging Cellular and Molecular Biological Functions. Edited by: Shorte SL, Frischknecht F. 2007, Heidelberg: Springer, 157180.View Article
 Gordon G, Berry G, Liang X, Levine B: Quantitative fluorescence resonance energy transfer measurements using fluorescence microscopy. Biophysical Journal. 1998, 74: 27022713. 10.1016/S00063495(98)779767.View Article
 Xia Z, Zhou Q, Lin J, Liu Y: Stable SNARE complex prior to evoked synaptic vesicle fusion revealed by fluorescence resonance energy transfer. J Biol Chem. 2001, 276: 176671.View Article
 Nagy P, Vámosi G, Bodnár A, Lockett SJ, Szöllösi J: Intensitybased energy transfer measurements in digital imaging microscopy. Eur Biophys J. 1998, 27: 37789. 10.1007/s002490050145.View Article
 Elangovan M, Wallrabe H, Chen Y, Day RN, Barroso M, Periasamy A: Characterization of one and twophoton excitation fluorescence resonance energy transfer microscopy. Methods. 2003, 29: 5873. 10.1016/S10462023(02)002839.View Article
 Trón L, Szöllósi J, Damjanovich S, Helliwell SH, ArndtJovin DJ, Jovin TM: Flow cytometric measurement of fluorescence resonance energy transfer on cell surfaces. Quantitative evaluation of the transfer efficiency on a cellbycell basis. Biophysical Journal. 1984, 45: 93946. 10.1016/S00063495(84)84240X.View Article
 Youvan D, Silva C, Bylina E, Coleman W, Dilworth M, Yang M: Calibration of fluorescence resonance energy transfer in microscopy using genetically engineered GFP derivatives on nickel chelating beads. Biotechnology et alia. 1997, 3: 118.
 Berney C, Danuser G: FRET or no FRET: a quantitative comparison. Biophysical Journal. 2003, 84: 39924010. 10.1016/S00063495(03)751261.View Article
 Zal T, Gascoigne NRJ: Photobleachingcorrected FRET efficiency imaging of live cells. Biophysical Journal. 2004, 86: 392339. 10.1529/biophysj.103.022087.View Article
 Hoppe A, Christensen K, Swanson JA: Fluorescence resonance energy transferbased stoichiometry in living cells. Biophysical Journal. 2002, 83 (6): 365264. 10.1016/S00063495(02)753654.View Article
 Erickson MG, Alseikhan BA, Peterson BZ, Yue DT: Preassociation of calmodulin with voltagegated Ca(2+) channels revealed by FRET in single living cells. Neuron. 2001, 31 (6): 97385. 10.1016/S08966273(01)00438X.View Article
 Chen H, Puhl H, Koushik S, Vogel S, Ikeda S: Measurement of FRET efficiency and ratio of donor to acceptor concentration in living cells. Biophysical Journal. 2006, 91: L3941. 10.1529/biophysj.106.088773.View Article
 Elder A, Domin A, Schierle GK, Lindon C, Pines J, Esposito A, Kaminski C: A quantitative protocol for dynamic measurements of protein interactions by FRETsensitized fluorescence emission. Royal Society Interface. 2009, 6: 124. 10.1098/rsif.2008.0327.View Article
 Wlodarczyk J, Woehler A, Kobe F, Ponimaskin E, Zeug A, Neher E: Analysis of FRET signals in the presence of free donors and acceptors. Biophysical Journal. 2008, 94: 9861000. 10.1529/biophysj.107.111773.View Article
 Gadella T: FRET and FLIM Techniques. 2009, Elsevier Science
 Chen H, III HP, Ikeda S: Estimating proteinprotein interaction affinity in living cells using quantitative Förster resonance energy transfer measurements. Journal of Biomedical Optics. 2007, 12: 05401110.1117/1.2799171.View Article
 Bruggeman F, Westerhoff H: The nature of systems biology. TRENDS in Microbiology. 2007, 15: 4550. 10.1016/j.tim.2006.11.003.View Article
 Piehler J: New methodologies for measuring protein interactions in vivo and in vitro. Curr Opin Struct Biol. 2005, 15: 414. 10.1016/j.sbi.2005.01.008.View Article
 Kreutz C, Timmer J: Systems biology: experimental design. FEBS Journal. 2009, 276 (4): 923942. 10.1111/j.17424658.2008.06843.x.View Article
 Neher RA, Neher E: Applying spectral fingerprinting to the analysis of FRET images. Microsc Res Tech. 2004, 64: 18595. 10.1002/jemt.20078.View Article
 Ljosa V, Carpenter AE: Introduction to the Quantitative Analysis of TwoDimensional Fluorescence Microscopy Images for CellBased Screening. PLoS Comput Biol. 2009, 5 (12): e100060310.1371/journal.pcbi.1000603.View Article
 Wilkinson D: Stochastic modelling for quantitative description of heterogeneous biological systems. Nat Rev Genet. 2009, 10 (2): 122133. 10.1038/nrg2509.View ArticleMathSciNet
 MacKay D: Information Theory, Inference & Learning Algorithms. 2002, Cambridge: Cambridge University Press
 Wallrabe H, Periasamy A: Imaging protein molecules using FRET and FLIM microscopy. Current Opinion in Biotechnology. 2005, 16: 1927. 10.1016/j.copbio.2004.12.002.View Article
 Rosenfeld N, Perkins TJ, Alon U, Elowitz MB, Swain PS: A fluctuation method to quantify in vivo fluorescence data. Biophysical Journal. 2006, 91 (2): 75966. 10.1529/biophysj.105.073098.View Article
 Digman MA, Dalal RB, Horwitz AF, Gratton E: Mapping the number of molecules and brightness in the laser scanning microscope. Biophysical Journal. 2008, 94 (6): 23202332. 10.1529/biophysj.107.114645.View Article
 Metropolis N, Rosenbluth A, Rosenbluth M, Teller A, Teller E: Equation of state calculations by fast computing machines. J Chem Phys. 1953, 21: 10871092. 10.1063/1.1699114.View Article
 Hastings W: Monte Carlo sampling methods using Markov chains and their applications. Biometrika. 1970, 57: 97109. 10.1093/biomet/57.1.97.View Article
 Sivia D, Skilling J: Data Analysis: a Bayesian Tutorial. 2006, Oxford: Oxford University Press
Copyright
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.