Abstract
Fluorescence-lifetime single molecule localization microscopy (FL-SMLM) adds the lifetime dimension to the spatial super-resolution provided by SMLM. Independent of intensity and spectrum, this lifetime information can be used, for example, to quantify the energy transfer efficiency in Förster Resonance Energy Transfer (FRET) imaging, to probe the local environment with dyes that change their lifetime in an environment-sensitive manner, or to achieve image multiplexing by using dyes with different lifetimes. We present a thorough theoretical analysis of fluorescence-lifetime determination in the context of FL-SMLM and compare different lifetime-fitting approaches. In particular, we investigate the impact of background and noise, and give clear guidelines for procedures that are optimized for FL-SMLM. We do also present and discuss our public-domain software package “Fluorescence-Lifetime TrackNTrace,” which converts recorded fluorescence microscopy movies into super-resolved FL-SMLM images.
1 Introduction
The advent of super-resolution microscopy (Hell, 2007; Huang et al., 2009) has revolutionized optical microscopy over the last ca. 30 years, pushing the limits of spatial resolution by three orders of magnitude down to the molecular length scale. The first of these super-resolution methods was STimulated Emission Depletion (STED) microscopy (Hell and Wichmann, 1994; Klar et al., 2000), developed by Stefan Hell and co-workers since the nineties of the last century, and later extended to Ground State Depletion IMaging (GSDIM) (Fölling et al., 2008; Hell, 2009) and REversible Saturable OpticaL Fluorescence Transitions (RESOLFT) imaging (Keller et al., 2007; Schwentker et al., 2007). This spurred also the development of alternative methods that use single-molecule localization in wide-field images (Single-Molecule Localization Microscopy or SMLM) (Klein et al., 2014). Among these methods are PhotoActivated Localization Microscopy (PALM) (Betzig et al., 2006), Stochastic Optical Reconstruction Microscopy (STORM) (Rust et al., 2006), fluorescence PALM (fPALM) (Hess et al., 2006), direct STORM (dSTORM) (Van de Linde et al., 2011), Point Accumulation for Imaging in Nanoscale Topography (PAINT) microscopy (Sharonov and Hochstrasser, 2006), and its most common variant DNA-PAINT (Schnitzbauer et al., 2017; Auer et al., 2018). These methods rely on the fact that one can localize the center position of an emitting molecule with much higher accuracy than the width of the molecule’s image, the latter being defined by the optical resolution of the used microscope. Roughly speaking, this localization accuracy scales as the diffraction-limited resolution divided by the square root of the number of detected photons, so that, for example, a molecule that delivers 104 detectable photons can be localized ca. 100 times better than the classical resolution limit (neglecting here, for simplicity, all kinds of details such as noise, background, or detector pixelation) (Ram et al., 2006). By recording many images of well-separated molecules (by using fluorescent labels that can be switched between non-fluorescent and fluorescent states), one can generate a super-resolved image, the resolution of which is only limited by the number of photons detectable from a single molecule.
One powerful extension of fluorescence microscopy is fluorescence lifetime imaging microscopy (FLIM) (Bastiaens and Squire, 1999; van Munster and Gadella, 2005; Chang et al., 2007) which measures, besides the intensity of the fluorescence signal, also its lifetime. This lifetime information can be, for example, used for multiplexing by using fluorophores with different lifetimes (Niehörster et al., 2016), for Förster Resonance Energy Transfer (FRET) imaging (Llères et al., 2017), or to probe different environmental characteristics when using fluorophores that change their lifetime as function of specific parameters (e.g. pH, ion concentration, viscosity) (Klymchenko, 2017). The two most common FLIM techniques are based on a confocal microscope equipped with a pulsed laser source, single-photon sensitive detectors and electronics for Time-Correlated Single Photon Counting (TCSPC) (Becker, 2005; O’Connor, 2012), or on phase fluorometry using a time-modulated excitation source and a wide-field detector with time-modulated detection gain (Venetta, 1959; Spencer and Weber, 1969; Dong et al., 1995). However, both these approaches are usually not suitable for SMLM: Confocal microscopy was until recently rarely used for SMLM due to the limited frame rate, and phase-fluorometry systems are by far to insensitive for single-molecule imaging. In contrast, single-molecule sensitive wide-field detectors such as emCCD or sCMOS cameras that are generally used for SMLM do not provide any lifetime information. Only recently, it has been shown that one can use rapid-scanning confocal TCSPC microscopy for fluorescence-lifetime SMLM (FL-SMLM) (Thiele et al., 2020). In this case, one rapidly records confocal images with single-molecule sensitivity and then analyses the stack of recorded scan images in the same way as is done in conventional wide-field SMLM. A drawback is that the light-throughput (or dwell-time per position) in a confocal microscopy is much lower than that of a camera-equipped wide-field microscope, but the advantage is that one can obtain the lifetime information for each imaged and registered molecule, and that the z-sectioning capability of the confocal microscope can help to do SMLM even deeper into a sample, where out-of-focus background light becomes a problem. Alternatively to confocal TCSPC microscopy, new single-photon sensitive wide-field cameras that can measure lifetime information with TCSPC are more and more emerging. One type of such cameras is based on an array of single-photon avalanche diodes (Ulku et al., 2018; Morimoto et al., 2020) and shows great promise for future SMLM applications. A second type of wide-field TCSPC detectors is the commercially available LINCam (PhotonScore GmbH, Magdeburg, Germany), that has been successfully used for FL-SMLM (Oleksiievets et al., 2020). Although this system has a relatively low quantum yield of detection (5–15%), it shows nearly complete absence of any readout or other camera noise, thus assuring sufficient high signal-to-background ratios for successful single-molecule imaging.
Thus, with the advent of FL-SMLM, the question arises what is the most optimal and efficient way of TCSPC-based fluorescence-lifetime determination for SMLM. Within the context of single-molecule spectroscopy, different fitting methods have been discussed and evaluated with experimental data, indicating that maximum likelihood estimations outperform least-square minimization techniques (Maus et al., 2001; Santra et al., 2016), and theoretical limits have been derived analytically (for background-free case) (Köllner and Wolfrum, 1992) and numerically (for a large range of experimental parameters) (Bouchet et al., 2019; Trinh et al., 2021). Here, we compare the performance of different commonly used fit algorithms by using simulated and experimental data, and we derive an analytic expression for their theoretical limits. With experimental data, we analyze the impact of sample inhomogeneity (intrinsic fluorescence lifetime variation of dye molecules) on obtained lifetime distributions, and we finally demonstrate that pattern-matching algorithms can be much more efficient than full lifetime-fitting in lifetime-based multiplexing.
2 Theory of Lifetime Determination
In a TCSPC lifetime measurement, the sample is excited with a train of sufficiently short laser pulses (ca. 100 femtoseconds to few dozen picoseconds) with fixed inter-pulse time period T (repetition period). For each detected photon, the arrival time t with respect to the last excitation pulse is recorded. The fluorescence lifetime τ can then be directly estimated from these arrival times as the mean (or standard deviation) of these t-values. However, this is only exact for a background-free measurement and for sufficiently large values of the repetition period T (T ≫ τ). For a precise lifetime determination with background and finite T, photon detection events are aggregated according to their arrival times, yielding the so-called TCSPC histogram, which is then fitted with a suitable model. Most fluorophores show a mono-exponential fluorescent decay behavior, so that one used a mono-exponential decay function with single decay time for fitting the TCSPC histogram (Lakowicz, 2006). In that case, the probability p for a photon to be detected at the time t is given bywhere b is the relative background amplitude (constant background). Experimentally, photon arrival times are grouped into K discrete TCSPC time channels ti of finite width Δt. In modern TCSPC systems, this time resolution Δt of measuring photon detection times is usually much smaller than both the lifetime τ and the width of the so-called instrument response function (IRF) σIRF, which is the experimentally measured TCSPC histogram for an ideal sample with infinitely fast fluorescence decay time. Therefore, any error that may be introduced by the TCSPC channel width is negligible, and the probability to detect a photon within one TCSPC channel is given by
For a total number of expected photons, the expectation value for each bin is then given by
Here, denotes the expected number of photons falling into the ith detection channel. It is important to note that the above equation is only correct for an infinitely narrow, delta-function like IRF, or when considering only TCSPC channels after a cut off of the part containing the IRF (TCSPC histogram starting some time tcut after the peak of the IRF). This cut off eliminates the impact of the IRF on a TCSPC histogram and is a common approach when working with IRFs sufficiently narrow compared to the fluorescence lifetime. The values of τ, b, and, depending on the method, are fitted by minimizing a suitable score function. Table 1 summarizes the defined symbols.
TABLE 1
| Parameter | Description |
|---|---|
| τ | fluorescence lifetime |
| b | background fraction |
| N | total number of photons |
| T | repetition period |
| t | time since last pulse |
| K | number of TCSPC time bins |
| Δt | width of TCSPC time bins |
| p | photon detection probability |
| mi | counts in time bin i |
| expected counts in time bin i | |
| expected total number of counts | |
| tcut | cut-off time for tail-fits |
| least square error | |
| ν | degrees of freedom (here, K − 3) |
| λ | negative log-likelihood |
| lifetime uncertainty (CRLB) | |
| t0, ρ, κ | parameters of model IRF |
Definitions of frequently used symbols.
2.1 Least-Square Estimators
The default score function for curve fitting with unknown error distribution is the sum of least-squares, i.e. the sum of the squared difference between data and estimate (L2-norm):
For single-photon detection, the number mi of detected photons in channel i follows a Poissonian statistics, so that its variance is equal to its mean value (expectation value). In a weighted least-square minimization, each value in the χ2-sum is weighted by the inverse of its variance, which requires to estimate, from the experimental data, the value of this variance. Pearson’s χ2 used the model-fitted values as an estimate for the variance, which leads to
In contrast, Neyman’s χ2 directly uses the experimentally measured values mi as an estimate of the variance,
However, this expression becomes infinite whenever one of the values mi becomes zero. Therefore, the denominator is either set to one in these cases (), or the sum skips all i where mi = 0 (). In this work, we exclusively use , because we observed that leads to unstable fit results.
2.2 Maximum Likelihood Estimator
Unlike measurement in bulk or on densely labeled structures, single molecule measurements are always limited by the number of detected photons. Especially for low photon count numbers, the variance of these numbers significantly deviates from a Gaussian distribution which is, however, the basic assumption behind all least-square estimators. A maximum likelihood estimator (MLE) solves this problem by calculating the probability that a given set of parameters leads to an experimentally measured photon detection distribution. When assuming that the probability of detecting a photon in the ith channel of a TCSPC histogram is pi, then the likelihood of measuring a TCSPC histogram {mi} is given by (Baker and Cousins, 1984)
This likelihood function takes extremely small values that are numerically difficult to handle and not very practical for comparing different parameter sets. To facilitate computation, constant factors are neglected, and one uses the negative logarithm of L instead of L itself. This leads to the negative log-likelihood function λ defined by
A similar estimator is the Poisson deviance which is derived from the likelihood ratio and relies on the estimated (fitted) values instead of the probability (Baker and Cousins, 1984):
By minimizing λ, the estimated number of photons is implicitly fixed to the detected number of photons N. When replacing and fixing , Eq. 9 becomes Eq. 8 with a constant offset.
In the limit of high photon detection numbers N, both weighted least-square methods as well as the MLE give similar results (Bajzer et al., 1991).
2.3 Goodness of Fit
A widely used parameter for estimating the goodness of a fit is the reduced χ2/ν with degrees of freedom ν = K—3 (minus three because we have the three fit parameters τ, b, and ). For a perfect fit, χ2/ν should be close to one. Smaller values indicate over-fitting, which is in the case of a mono-exponential model unlikely, and larger values indicate that the model does not describe the data completely. Both Pearson’s and the MLE asymptotically approach the χ2 distribution. However, for low number of counts per time bin (), the expectation value of deviates from the value one while the expectation value of stays close to one at the cost of an increased variance. In practice, an increased variance is usually preferable over a count-dependent expectation value. The bias of the expectation value of can be reduced by grouping adjacent time bins and thus decreasing the time resolution.
2.4 Lifetime Uncertainty
The Cramér-Rao lower bound (CRLB) uses the Fisher information of a measurement to calculate a lowest bound for the variance that an unbiased estimator can have. The amount of information conveyed by a measurement is shared between all unknown parameters θ. For a mono-exponential decay with N photons and the probability distribution p(t) of Eq. 1, the Fisher matrix is given by:
The CRLB for each parameter is then given by the corresponding diagonal element of the inverse Fisher matrix:
For TCSPC-measurements, typically both the lifetime and background need to be estimated: θ = {τ, b}. As discussed by Köllner and Wolfrum (1992), an unknown number of photons does not affect the uncertainty as off-diagonal elements become zero. A step-by-step derivation of the CRLB for the lifetime is provided in the supplemental information.
2.5 Pattern Matching
Pattern matching is an alternative to lifetime fitting when the core task is to determine to which species a detected molecule belongs, among a discrete number of different species. Unlike lifetime fitting, pattern matching does not make any assumptions about the shape of the decay, and the only prerequisite is that reference decays of the separate species are available. To identify the most likely species to which a molecule belongs, the different negative log-likelihood values λα are calculated according to Eq. 8 by setting {pi} equal to the normalized probability distributions {pi,α} for each species α. The species with the lowest value of λ is then chosen as the most likely species. The rate of misidentifications depends on the number of photons N and the similarity of the patterns, see discussion in Enderlein and Sauer (2001) for details. The relative probability fα for species α among a total of S species is given by
This equation is useful for rejecting molecules that cannot be classified with a high probability (Thiele et al., 2020). The relative probability is equivalent to the posterior probability of a Bayesian model comparison when assuming equal prior probabilities. In contrast to likelihoods or Bayes factors, the posterior probability can be averaged over multiple molecules or many time points.
Unlike the situation in usual fitting, the {pi,α} are the same for all TCSPC histograms. Therefore, the logarithms can be calculated in advance, and Eq. 8 can be implemented as a simple matrix multiplication. For this purpose, first the K × S-dimensional pattern matrix Pln is calculated which contains the logarithm of the normalized patterns as row vectors. Second, the negative log-likelihood matrix Λ is obtained by multiplication with matrix M, which is the J × K-dimensional matrix constructed from the J TCSPC histograms (column vectors):
The resulting J × S-dimensional matrix Λ with entries λj,α allows for a fast calculation of the relative probabilities fj,α with Eq. 12, or to directly determine the most likely pattern xj for each TCSPC histogram with
The a priori calculation of Pln, together with the single matrix multiplication step, enables efficient calculation of λj,α for thousands of TCSPC histograms in parallel and for many species. By employing a library of calculated decays {pi,α}, this approach allows for quick determination of the most likely parameter set using a grid-based search. We provide example code of pattern matching for classification and as well as for grid-based fitting in the supplementary material (Thiele, 2021b).
2.6 Fitting Using the Instrument Response Function
For lifetime values similar or shorter than the width of the IRF, it can be necessary to explicitly take the shape of the IRF into account. This is achieved by convolving the probability distribution {pi} (1) or expectation values (Eq. 3) with the normalized IRF {qi}:
Here, ⊛ denotes a discrete, circular convolution. Subsequently, the score function is minimized with the convolved probability distributions or expectation values , respectively. This can be either performed for the tail of the decay only, or, more commonly, for the entire decay curve.
The IRF can be measured experimentally, or it can be approximated with a model. Typically, a Gaussian distribution or a shifted Gamma distribution, which reflects a potential asymmetry of the IRF, are used as parametric models. In this work, we employed a shifted Gamma distribution of the formwhere the distribution depends on the following three parameters: starting time of the peak t0, shape parameter ρ, and rate parameter κ.
3 Methods
3.1 Simulations
The different least-square estimators and the maximum-likelihood estimator were tested on simulated data. If not stated otherwise, the following parameters were used: lifetime τ = 2 ns, background b = 0.2, repetition period T = 25 ns, TCSPC time resolution Δt = 0.016 ns. Using these parameters and the average total number N of detected photons, the expectation values were calculated for each time bin following Eq. 3. To generate a simulated decay {mi}, Poisson-distributed random variables with expectation value were drawn. The simulated data was fitted with the model function (Eq. 3) by minimizing each estimator (Eqs 5, 6 and 8) with a Nelder-Mead simplex algorithm. Initial fit values were calculated by multiplying the true value with a random number between 0.5 and 1.5 to obtain a low-precision initial guess value. Simulation and fitting was repeated 105 times to obtain a sufficiently large distribution of fit results. The simulation was implemented in Matlab (R2020a, The MathWorks Inc.).
To investigate the influence of the IRF on the fitted lifetime, a dedicated simulation was performed. First, the experimental IRF of the confocal microscope described in (Thiele et al., 2020) was determined by measuring backscattering from a coverglass coated with a 10 nm gold film. The substrate preparation is described in detail in (Ghosh et al., 2021). A normalized experimental IRF is obtained from the measured TCSPC histogram by subtracting the background, defined as the average count level in the second half of the TCSPC histogram, and dividing by its sum. A parametric IRF was obtained by fitting the TCSPC histogram with (1 − b)qi + b/K, where qi is defined as in Eq. 16, by minimizing the negative log-likelihood (Eq. 8) for the parameters t0, ρ, κ, and b with a Nelder-Mead simplex algorithm. Subsequently, the parametric IRF was calculated with these t0, ρ, and κ.
Similar to the previous simulation, a decay with background b = 0.2, repetition period T = 25 ns, and time resolution Δt = 0.016 ns was calculated, while its lifetime was varied from 0.025 ns to 2.0 ns in 0.025 ns increments. The calculated decay was convolved with the experimental IRF, and 105 TCSPC histograms with a mean value of 2000 photons were simulated. From the TCSPC histograms, the lifetime values were determined by an MLE grid search based on the pattern matching described in Section 2.4 with 500 lifetime values linearly spaced from 0.01 ns to 3.00 ns and 60 different background values. The reference decays were calculated in three different ways: (1) mono-exponential decay without IRF, (2) mono-exponential decay convolved with the experimental IRF, and mono-exponential decay convolved with the parametric IRF. For case (1), the likelihood was calculated using the tail of the decay starting tcut = 0.2 ns after the maximum of the sum of all decays. The correspondingly shortened reference decays were normalized prior to calculating the likelihood values. For case (2) and (3), the likelihood was calculated with the entire TCSPC histogram.
3.2 Experimental Data
For checking the different lifetime-fitting approaches on real experimental data, we used dSTORM images of three different structures: Alexa 647-labeled microtubules, Atto 655-labeled clathrin pits in fixed COS7 cells, and 3 µm polystyrene beads decorated with Alexa 647-labeled DNA. All experimental data were taken from (Thiele et al., 2020), where details on the sample preparation and measurement can be found. The data was processed with TrackNTrace (see below) to extract single-molecule TCSPC histograms. The tail of the single-molecule decay curves, starting 0.2 ns after the maximum in the sum of all decays, were fitted by minimizing the negative log-likelihood function (Eq. 8) with a Nelder-Mead simplex algorithm. Initial fit values were determined by using a pattern matching of the decay curves. For this purpose, 500 lifetime values linearly spaced from 0.01 to 5.00 ns and 60 different background values were used.
For the analysis of the experimentally obtained lifetime distributions (Figure 3), the single molecule data was sorted according to the number of photons per TCSPC histogram, and then divided into 30 equally-sized groups. Only molecules with an image size (standard deviation) between 100 and 180 nm, with at least 25 photons in the TCSPC histogram, and with a reduced Pearson’s of their lifetime fit between 0.8 and 1.2 were included in the final analysis.
For each group, the standard deviation σ of the single molecule lifetimes and the analytic CRLB based on the average number of photons ⟨N⟩, the lifetime ⟨τ⟩ and the background ⟨b⟩, was calculated. The width of the sample-intrinsic lifetime variation σsample was determined by fitting the σ for ⟨N⟩ > 100 with an decay of the form σ = a⟨N⟩−k + σsample with empirical fit parameters a, k, and intrinsic sample-related variance σsample by minimizing with a Nelder-Mead simplex algorithm.
For exemplifying and checking the pattern-matching algorithm, we used data obtained from COS7 cells labeled with either Alexa 647 or Atto 655, from which synthetic data with mixed labeling were generated. Only molecules with an image size between 100 and 180 nm and at least 50 photons in the TCSPC histogram were used for further analysis. As reference patterns, we used normalized decay curves of pure samples of Alexa 647 and Atto 655, respectively. With these reference patterns, the relative probability that a localized molecule was either Alexa 647 or Atto 655 was calculated, following Eq. 12. Based on these relative probabilities and the known identities of the samples, the receiver operating characteristic (ROC) and the area under curve (AUC) were calculated. As comparison, the same curves were calculated using MLE fitted lifetime values as classification score.
4 Results
4.1 Simulations and Analytical Results
The CRLB yields the minimum variance that can be attained by an unbiased estimator. For a mono-exponential decay with background and an infinite time resolution, an analytical expression for the CRLB can be given. It has recently been shown numerically that the TCSPC channel discretization does not considerably affect the CRLB as long as the time bins are much narrower than the lifetime (Trinh et al., 2021). In contrast, background substantially affects a CRLB (Köllner and Wolfrum, 1992). The full expression of the CRLB for the variance of the lifetime τ as function of τ itself, the number of photons N, the background fraction b, and the repetition period T, is given in the supplementary information (see Supplementary Equation S1). It is, however, useful to analyze some limiting cases. In the limiting case of an infinitely large repetition period T, the estimator is only limited by Poisson noise:
Here, N(1 − b) photons correspond to the fluorescence signal while the Nb background photons do not carry any lifetime information. Since the off-diagonal elements of the Fisher matrix vanish () for T → ∞, the knowledge of the background does not affect the result. For a finite value of T, these off-diagonal elements become non-zero and do increase the value of . Therefore, it makes a difference whether the background level needs to be estimated independently as an additional fit parameter, or whether it is known in advance. If it is known that the background is zero one findswhile for an unknown but zero background one finds the generally larger value
A comparison between known and unknown background levels and calculations for different combinations of background and repetition period T are provided in Supplementary Figure S1.
To validate the performance of the different estimators, simulated TCSPC histograms were fitted and the fit results compared to the ground truth. Especially at low photon counts, there is a striking difference between the estimators. In Figure 1A, it is apparent that weighted least-square estimators are biased and do not reproduce the correct decay curve. The distribution of fitted lifetime values (Figure 1B) emphasizes this count-dependent bias. In contrast, the median lifetime value recovered by the unweighted LSQ and the MLE are very close to the ground truth. However, the MLE achieves this with much less uncertainty. The distribution of the fitted number of photons, background level, and bias of median lifetime values in dependence of the number of counts are given in Supplementary Figure S2. As shown in Figure 1C, the standard deviation of the lifetime values obtained with weighted LSQ and MLE do approach the theoretical limit of the CRLB. However, solely MLE provides a performance close to the CRLB with no substantial bias of the lifetime values, even for photon detection numbers of only a few hundred. This behavior is not specific for the chosen simulation parameters. In the supplementary material, see Supplementary Table S1, we present additional simulations for lower lifetimes, for shorter repetition rates, and for higher and lower background values, confirming our results described above. In good agreement with our results, Santra et al. (2016) found no bias for MLE but substantial bias for least-square estimators when fitting solution measurements and neglecting background.
FIGURE 1
4.1.1 Influence of the Instrument Response Function
The simulations so far neglected the influence of the IRF which is equivalent to assuming a dirac-like IRF. In reality, the IRF has a finite width and can influence the fitted lifetime. Figure 2 shows an experimental IRF obtained by recording the back-scattered light form a gold-covered coverslip, together with its parametric fit. The parametric IRF was obtained by fitting the scattering measurement and has a full width at half maximum (FWHM) of 0.58 ns. The good fit quality confirms that the shifted Gamma distribution is an excellent model for the true IRF.
FIGURE 2
To evaluate the effect of the IRF, we simulated TCSPC measurements using the experimental IRF and for sample lifetimes (ground-truth) between 0.025 and 2.0 ns. The computed TCSPC curves were then fitted with and without IRF using an MLE grid search. Figure 2B shows that the tail fit leads to a bias towards larger lifetime values when the actual lifetime comes closer to the width of the IRF. For lifetime values close to zero, the bias reaches 0.2 ns. This bias can be eliminated by taking the IRF explicitly into account. Fits with the IRF, both with the experimental IRF (which was used for the TCSPC simulation) as well as with its parametric form, lead to negligible bias for all tested lifetimes.
With a FWHM of above 0.5 ns, the IRF we used for the simulation was rather broad due to the employed diode laser. For a narrower IRF, e.g. with a typical white light laser, the influence of the IRF will be even less pronounced and the bias of tail-fit results reduced.
4.2 Experimental Results
4.2.1 Estimation of the Intrinsic Lifetime Distribution
In real measurements, single-molecule lifetime values are not only affected by Poisson noise but also by intrinsic sample inhomogeneity (variation of intrinsic lifetime values). Figure 3 compares two samples: Alexa 647 in a cellular environment exhibits a broader lifetime distribution that cannot be explained solely by the CRLB, while the lifetime distribution of DNA-conjugated Alexa 647 on a polymer bead surface is close to the CRLB. Unlike the CRLB, this sample-dependent contribution to the lifetime variance does not dependent on the number of detected photons. Therefore, it can be estimated as the asymptotic limit of the standard deviation of the lifetimes as a function of the number of detected photons, as shown in Figures 3C,F. When taking this additional intrinsic sample-related variance into account, the theoretical estimate (green line in Figures 3B,E) does closely match the measured lifetime distribution. By simulating a sample with a known lifetime inhomogeneity (Supplementary Figure S13), we can confirm this method recovers the intrinsic variance. In the cellular environment, we observe a small dependence of the average lifetime on photon number (Supplementary Figure S14). This adds to the overall width of the lifetime distribution (Figure 3B), but does not affect our estimation of the intrinsic variance as the standard deviation is independent of the mean.
FIGURE 3
The clear difference between the average lifetimes in the two different samples matches results in the literature that the lifetime of cyanines like Alexa 647 sensitively depends on the environment (Buschmann et al., 2003; Klehs et al., 2014).
For experimental data, all lifetimes in this work are determined with mono-exponential tail-fits. The interval of the TCSPC histogram which is used for lifetime fitting starts at or short time (cut off tcut) after the maximum of the TCSPC histogram. Figure 4C illustrates that the cut off does not notably affect the resulting lifetime distribution for a mono-exponential sample.
FIGURE 4
4.2.2 Pattern Matching
A pattern matching compares the TCSPC histogram with a library of reference patterns. This allows one to classify single molecules without fitting their lifetime and setting a lifetime threshold. Figure 4 compares the performance of pattern matching (A) with lifetime-fitting based classification (B). Pattern matching offers a higher sensitivity and specificity which is reflected in the larger area under the curve (AUC) as compared to lifetime-fitting based classification. The reference patterns, shown in Supplementary Figure S15A, reveal that the decay curves are not strictly mono-exponential. Therefore, overlapping lifetime distributions (Supplementary Figure S15B) can be separated better by pattern matching than by lifetime fitting. The specificity can be improved by removing molecules with low number of photons.
Pattern matching is also useful for quickly finding good guess values over a limited parameter space using a parallel grid search. Figure 4C shows that the lifetimes obtained by pattern matching closely resemble the distribution obtained from MLE fitting. For highest precision, the lifetime values could be refined with a subsequent precise MLE fit.
5 Discussion and Conclusion
Using Monte-Carlo simulations, we have demonstrated that MLE-based fitting outperforms common LSQ-based fitting and achieves close to shot-noise limited accuracy. An analytic expression for this limit, the CRLB for a mono-exponential decay with unknown background and finite repetition period was derived. In SMLM, the localization uncertainty derived from the CRLB has become an indispensable parameter for data filtering. We suggest to use the lifetime uncertainty in a similar fashion for filtering lifetime-resolved single-molecule data, to improve separation between different species or states, and to estimate experimental limitations. To facilitate its application, we provide a Python implementation of the CRLB calculation (Thiele, 2021a).
Our simulations confirmed that the fit uncertainties originating from photon statistics, background, and finite repetition period can be well estimated by the CRLB. However, in actual single-molecule lifetime experiments, additional sources of uncertainty need to be considered. Many fluorophores are known to be sensitive to their local environment. This can be a desired effect, e.g. for lifetime-based environmental sensing (Klymchenko, 2017). However, for many applications, including lifetime-based multiplexing or FRET, the intrinsic lifetime variation should be as narrow as possible because any broadening increases final uncertainties of the results. Therefore, it is important to quantify the intrinsic lifetime variation across a single species of labels/dyes which is, unlike the CRLB, independent on the number of detected photons. We have shown that this intrinsic lifetime variation can be extracted from the photon-number dependence of the experimentally determined lifetime distribution. As presented in Figure 3, the same fluorophore but in different samples can show very different lifetime variation, with measurements in cells exhibiting a considerably broader variation. This suggests that single-molecule lifetime measurements in cells might not always be limited only by the instrument response function or the photon statistics, but can be also limited by intrinsic lifetime variations of a sample itself.
In FLIM experiments, the fluorescence lifetime is often used to identify different states, e.g. high or low FRET efficiency, or distinguish between different species with different lifetimes. FL-SMLM extracts this information from single molecules and allows for a discrete classification of imaged molecules based on their lifetimes. For such an application, full lifetime fitting is not always the most efficient way for classification. As demonstrated in Figure 4, pattern matching outperforms lifetime-based classification. Pattern matching compares a measured TCSPC histogram with reference histograms, which can be done extremely fast, and which does not require any specific knowledge about the character of a fluorescence decay (e.g. mono-exponential decay) while utilizing all photons of a TCSPC histogram. When using a large number of calculated decays, pattern matching can serve as a way of unbiased lifetime estimation within a fixed parameter space. Since this is very fast, it is attractive for initial parameter guesses and might be useful when many thousands of lifetimes need to be determined, e.g. in pixel-wise time-resolved data.
To facilitate the analysis of FL-SMLM data, we have amended our open source software package TrackNTrace (Stein and Thiart, 2016) with the ability to extract TCSPC histograms and to fit lifetime values. It conveniently covers all required computational steps, from reading raw data to reconstructing FLIM images, all within a single GUI-based app. In this app, lifetime values can be determined with fast pattern matching and, optionally, by subsequent refinement with precise MLE-based fitting.
Statements
Data availability statement
Publicly available datasets were analyzed in this study. This data can be found here: https://projects.gwdg.de/projects/cfl-smlm/repository. The supplemental scripts are available at https://doi.org/10.5281/zenodo.5093591 and example code for pattern matching at https://doi.org/10.5281/zenodo.5423457. Our analysis software TrackNTrace can be found at https://github.com/scstein/TrackNTrace.
Author contributions
JT and JE conceived the project. JT performed theoretical derivations, simulations, and data analysis. JT and ON acquired the data. ON prepared the bead sample. DH prepared the cell samples under the supervision of MS. JT and JE wrote the manuscript. All authors edited and approved the final manuscript.
Funding
This work was financially supported by funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (AdR ERC Grant “smMIET” No. 884488), the ERC Synergy Grant “ULTRARESOLUTION” (951275—GAP-951275), and by the Deutsche Forschungsgesellschaft (DFG) through Germany’s Excellence Strategy EXC 2067/1–390729940.
Acknowledgments
We are grateful to Alexey Chizhik and Roman Tsukanov for many fruitful discussions.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fbinf.2021.740281/full#supplementary-material
References
1
AuerA.SchlichthaerleT.WoehrsteinJ. B.SchuederF.StraussM. T.GrabmayrH.et al (2018). Nanometer-scale Multiplexed Super-resolution Imaging with an Economic 3d-Dna-Paint Microscope. ChemPhysChem19, 3024–3034. 10.1002/cphc.201800630
2
Bajzere.TherneauT. M.SharpJ. C.PrendergastF. G. (1991). Maximum Likelihood Method for the Analysis of Time-Resolved Fluorescence Decay Curves. Eur. Biophys. J.20, 247–262. 10.1007/BF00450560
3
BakerS.CousinsR. D. (1984). Clarification of the Use of CHI-Square and Likelihood Functions in Fits to Histograms. Nucl. Instr. Methods Phys. Res.221, 437–442. 10.1016/0167-5087(84)90016-4
4
BastiaensP. I.SquireA. (1999). Fluorescence Lifetime Imaging Microscopy: Spatial Resolution of Biochemical Processes in the Cell. Trends Cel Biol9, 48–52. 10.1016/s0962-8924(98)01410-x
5
BeckerW. (2005). Advanced Time-Correlated Single Photon Counting Techniques, Vol. 81. Berlin, Germany: Springer Science & Business Media.
6
BetzigE.PattersonG. H.SougratR.LindwasserO. W.OlenychS.BonifacinoJ. S.et al (2006). Imaging Intracellular Fluorescent Proteins at Nanometer Resolution. Science313, 1642–1645. 10.1126/science.1127344
7
BouchetD.KrachmalnicoffV.IzeddinI. (2019). Cramér-Rao Analysis of Lifetime Estimations in Time-Resolved Fluorescence Microscopy. Opt. Express27, 21239–21252. 10.1364/OE.27.021239
8
BuschmannV.WestonK. D.SauerM. (2003). Spectroscopic Study and Evaluation of Red-Absorbing Fluorescent Dyes. Bioconjug. Chem.14, 195–204. 10.1021/bc025600x
9
ChangC. W.SudD.MycekM. A. (2007). Fluorescence Lifetime Imaging Microscopy. Methods Cel Biol81, 495–524. 10.1016/S0091-679X(06)81024-1
10
DongC. Y.SoP. T.FrenchT.GrattonE. (1995). Fluorescence Lifetime Imaging by Asynchronous Pump-Probe Microscopy. Biophys. J.69, 2234–2242. 10.1016/S0006-3495(95)80148-7
11
EnderleinJ.SauerM. (2001). Optimal Algorithm for Single-Molecule Identification with Time-Correlated Single-Photon Counting. J. Phys. Chem. A.105, 48–53. 10.1021/jp002358n
12
FöllingJ.BossiM.BockH.MeddaR.WurmC. A.HeinB.et al (2008). Fluorescence Nanoscopy by Ground-State Depletion and Single-Molecule Return. Nat. Methods5, 943–945. 10.1038/nmeth.1257
13
GhoshA.ChizhikA. I.KaredlaN.EnderleinJ. (2021). Graphene- and Metal-Induced Energy Transfer for Single-Molecule Imaging and Live-Cell Nanoscopy with (Sub)-nanometer Axial Resolution. Nat. Protoc.16, 3695–3715. 10.1038/s41596-021-00558-6
14
HellS. W. (2007). Far-field Optical Nanoscopy. Science316, 1153–1158. 10.1126/science.1137395
15
HellS. W. (2009). Microscopy and its Focal Switch. Nat. Methods6, 24–32. 10.1038/nmeth.1291
16
HellS. W.WichmannJ. (1994). Breaking the Diffraction Resolution Limit by Stimulated Emission: Stimulated-Emission-Depletion Fluorescence Microscopy. Opt. Lett.19, 780–782. 10.1364/ol.19.000780
17
HessS. T.GirirajanT. P.MasonM. D. (2006). Ultra-high Resolution Imaging by Fluorescence Photoactivation Localization Microscopy. Biophys. J.91, 4258–4272. 10.1529/biophysj.106.091116
18
HuangB.BatesM.ZhuangX. (2009). Super-resolution Fluorescence Microscopy. Annu. Rev. Biochem.78, 993–1016. 10.1146/annurev.biochem.77.061906.092014
19
KellerJ.SchönleA.HellS. W. (2007). Efficient Fluorescence Inhibition Patterns for Resolft Microscopy. Opt. Express15, 3361–3371. 10.1364/oe.15.003361
20
KlarT. A.JakobsS.DybaM.EgnerA.HellS. W. (2000). Fluorescence Microscopy with Diffraction Resolution Barrier Broken by Stimulated Emission. Proc. Natl. Acad. Sci. U S A.97, 8206–8210. 10.1073/pnas.97.15.8206
21
KlehsK.SpahnC.EndesfelderU.LeeS. F.FürstenbergA.HeilemannM. (2014). Increasing the Brightness of Cyanine Fluorophores for Single-Molecule and Superresolution Imaging. ChemPhysChem15, 637–641. 10.1002/cphc.201300874
22
KleinT.ProppertS.SauerM. (2014). Eight Years of Single-Molecule Localization Microscopy. Histochem. Cel Biol141, 561–575. 10.1007/s00418-014-1184-3
23
KlymchenkoA. S. (2017). Solvatochromic and Fluorogenic Dyes as Environment-Sensitive Probes: Design and Biological Applications. Acc. Chem. Res.50, 366–375. 10.1021/acs.accounts.6b00517
24
KöllnerM.WolfrumJ. (1992). How many Photons Are Necessary for Fluorescence-Lifetime Measurements?Chem. Phys. Lett.200, 199–204. 10.1016/0009-2614(92)87068-Z
25
LakowiczJ. R. (2006). “Time-Domain Lifetime Measurements,” in Principles of Fluorescence Spectroscopy. Editor LakowiczJ. R. (Berlin, Germany: Springer US), 97–155. 10.1007/978-0-387-46312-4_4
26
LlèresD.BaillyA. P.PerrinA.NormanD. G.XirodimasD. P.FeilR. (2017). Quantitative FLIM-FRET Microscopy to Monitor Nanoscale Chromatin Compaction In Vivo Reveals Structural Roles of Condensin Complexes. Cell Rep18, 1791–1803. 10.1016/j.celrep.2017.01.043
27
MausM.CotletM.HofkensJ.GenschT.De SchryverF. C.SchafferJ.et al (2001). An Experimental Comparison of the Maximum Likelihood Estimation and Nonlinear Least-Squares Fluorescence Lifetime Analysis of Single Molecules. Anal. Chem.73, 2078–2086. 10.1021/ac000877g
28
MorimotoK.ArdeleanA.WuM.-L.UlkuA. C.AntolovicI. M.BruschiniC.et al (2020). Megapixel Time-Gated Spad Image Sensor for 2d and 3d Imaging Applications. Optica7, 346–354. 10.1364/optica.386574
29
NiehörsterT.LöschbergerA.GregorI.KrämerB.RahnH. J.PattingM.et al (2016). Multi-target Spectrally Resolved Fluorescence Lifetime Imaging Microscopy. Nat. Methods13, 257–262. 10.1038/nmeth.3740
30
O’ConnorD. (2012). Time-correlated Single Photon Counting. Cambridge, Massachusetts: Academic Press.
31
OleksiievetsN.ThieleJ. C.WeberA.GregorI.NevskyiO.IsbanerS.et al (2020). Wide-Field Fluorescence Lifetime Imaging of Single Molecules. J. Phys. Chem. A.124, 3494–3500. 10.1021/acs.jpca.0c01513
32
RamS.WardE. S.OberR. J. (2006). Beyond Rayleigh's Criterion: a Resolution Measure with Application to Single-Molecule Microscopy. Proc. Natl. Acad. Sci. U S A.103, 4457–4462. 10.1073/pnas.0508047103
33
RustM. J.BatesM.ZhuangX. (2006). Sub-diffraction-limit Imaging by Stochastic Optical Reconstruction Microscopy (Storm). Nat. Methods3, 793–795. 10.1038/nmeth929
34
SantraK.ZhanJ.SongX.SmithE. A.VaswaniN.PetrichJ. W. (2016). What Is the Best Method to Fit Time-Resolved Data? A Comparison of the Residual Minimization and the Maximum Likelihood Techniques as Applied to Experimental Time-Correlated, Single-Photon Counting Data. J. Phys. Chem. B120, 2484–2490. 10.1021/acs.jpcb.6b00154
35
SchnitzbauerJ.StraussM. T.SchlichthaerleT.SchuederF.JungmannR. (2017). Super-resolution Microscopy with Dna-Paint. Nat. Protoc.12, 1198–1228. 10.1038/nprot.2017.024
36
SchwentkerM. A.HofmannM.JakobsS.BewersdorfJ.EggelingC.HellS. W.et al (2007). Wide-field Subdiffraction Resolft Microscopy Using Fluorescent Protein Photoswitching. Microsc. Res. Tech.70, 269–280. 10.1002/jemt.20443
37
SharonovA.HochstrasserR. M. (2006). Wide-field Subdiffraction Imaging by Accumulated Binding of Diffusing Probes. Proc. Natl. Acad. Sci. U S A.103, 18911–18916. 10.1073/pnas.0609643104
38
SpencerR. D.WeberG. (1969). Measurements of Subnanosecond Fluorescence Lifetimes with a Cross-Correlation Phase Fluorometer. Ann. NY Acad. Sci.158, 361–376. 10.1111/j.1749-6632.1969.tb56231.x
39
SteinS. C.ThiartJ. (2016). TrackNTrace: A Simple and Extendable Open-Source Framework for Developing Single-Molecule Localization and Tracking Algorithms. Sci. Rep.6, 37947. 10.1038/srep37947
40
ThieleJ. C.HelmerichD. A.OleksiievetsN.TsukanovR.ButkevichE.SauerM.et al (2020). Confocal Fluorescence-Lifetime Single-Molecule Localization Microscopy. ACS Nano14, 14190–14200. 10.1021/acsnano.0c07322
41
[Dataset]ThieleJ. C. (2021a). CRLB for Mono-Exponential Fitting. 10.5281/zenodo.5093591
42
[Dataset]ThieleJ. C. (2021b). FL-SMLM Pattern-Matching. 10.5281/zenodo.5423457
43
TrinhA. L.EspositoA.EspositoA.EspositoA. (2021). Biochemical Resolving Power of Fluorescence Lifetime Imaging: Untangling the Roles of the Instrument Response Function and Photon-Statistics. Biomed. Opt. Express12, 3775–3788. 10.1364/BOE.428070
44
UlkuA. C.BruschiniC.AntolovicI. M.CharbonE.KuoY.AnkriR.et al (2018). A 512×512 SPAD Image Sensor with Integrated Gating for Widefield FLIM. IEEE J. Sel Top. Quan. Electron25, 1–12. 10.1109/JSTQE.2018.2867439
45
Van de LindeS.LöschbergerA.KleinT.HeidbrederM.WolterS.HeilemannM.et al (2011). Direct Stochastic Optical Reconstruction Microscopy with Standard Fluorescent Probes. Nat. Protoc.6, 991–1009. 10.1038/nprot.2011.336
46
van MunsterE. B.GadellaT. W. (2005). Fluorescence Lifetime Imaging Microscopy (Flim). Adv. Biochem. Eng. Biotechnol.95, 143–175. 10.1007/b102213
47
VenettaB. D. (1959). Microscope Phase Fluorometer for Determining the Fluorescence Lifetimes of Fluorochromes. Rev. Scientific Instr.30, 450–457. 10.1063/1.1716652
Summary
Keywords
FLIM (fluorescence lifetime imaging microscopy), CRLB (Cramér-Rao lower bound) analysis, fluoresence lifetime fitting, super-resolution microscopy, lifetime uncertainty, SMLM (single molecule localisation microscopy)
Citation
Thiele JC, Nevskyi O, Helmerich DA, Sauer M and Enderlein J (2021) Advanced Data Analysis for Fluorescence-Lifetime Single-Molecule Localization Microscopy. Front. Bioinform. 1:740281. doi: 10.3389/fbinf.2021.740281
Received
12 July 2021
Accepted
04 October 2021
Published
19 November 2021
Volume
1 - 2021
Edited by
Christian Franke, Friedrich Schiller University Jena, Germany
Reviewed by
Zoltan Cseresnyes, Leibniz Institute for Natural Product Research and Infection Biology, Germany
Hanieh Mazloom-Farsibaf, University of Texas Southwestern Medical Center, United States
Updates
Copyright
© 2021 Thiele, Nevskyi, Helmerich, Sauer and Enderlein.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Jan Christoph Thiele, jan.christoph.thiele@phys.uni-goettingen.de; Jörg Enderlein, jenderl@gwdg.de
This article was submitted to Computational BioImaging, a section of the journal Frontiers in Bioinformatics
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.