## Figures

## Abstract

Multiple biological processes are driven by oscillatory gene expression at different time scales. Pulsatile dynamics are thought to be widespread, and single-cell live imaging of gene expression has lead to a surge of dynamic, possibly oscillatory, data for different gene networks. However, the regulation of gene expression at the level of an individual cell involves reactions between finite numbers of molecules, and this can result in inherent randomness in expression dynamics, which blurs the boundaries between aperiodic fluctuations and noisy oscillators. This underlies a new challenge to the experimentalist because neither intuition nor pre-existing methods work well for identifying oscillatory activity in noisy biological time series. Thus, there is an acute need for an objective statistical method for classifying whether an experimentally derived noisy time series is periodic. Here, we present a new data analysis method that combines mechanistic stochastic modelling with the powerful methods of non-parametric regression with Gaussian processes. Our method can distinguish oscillatory gene expression from random fluctuations of non-oscillatory expression in single-cell time series, despite peak-to-peak variability in period and amplitude of single-cell oscillations. We show that our method outperforms the Lomb-Scargle periodogram in successfully classifying cells as oscillatory or non-oscillatory in data simulated from a simple genetic oscillator model and in experimental data. Analysis of bioluminescent live-cell imaging shows a significantly greater number of oscillatory cells when luciferase is driven by a *Hes1* promoter (10/19), which has previously been reported to oscillate, than the constitutive MoMuLV 5’ LTR (MMLV) promoter (0/25). The method can be applied to data from any gene network to both quantify the proportion of oscillating cells within a population and to measure the period and quality of oscillations. It is publicly available as a MATLAB package.

## Author summary

Technological advances now allow us to observe gene expression in real-time at a single-cell level. In a wide variety of biological contexts this new data has revealed that gene expression is highly dynamic and possibly oscillatory. It is thought that periodic gene expression may be useful for keeping track of time and space, as well as transmitting information about signalling cues. Classifying a time series as periodic from single cell data is difficult because it is necessary to distinguish whether peaks and troughs are generated from an underlying oscillator or whether they are aperiodic fluctuations. To this end, we present a novel tool to classify live-cell data as oscillatory or non-oscillatory that accounts for inherent biological noise. We first demonstrate that the method outperforms a competing scheme in classifying computationally simulated single-cell data, and we subsequently analyse live-cell imaging time series. Our method is able to successfully detect oscillations in a known genetic oscillator, but it classifies data from a constitutively expressed gene as aperiodic. The method forms a basis for discovering new gene expression oscillators and quantifying how oscillatory activity alters in response to changes in cell fate and environmental or genetic perturbations.

**Citation: **Phillips NE, Manning C, Papalopulu N, Rattray M (2017) Identifying stochastic oscillations in single-cell live imaging time series using Gaussian processes. PLoS Comput Biol 13(5):
e1005479.
https://doi.org/10.1371/journal.pcbi.1005479

**Editor: **Jennifer Listgarten,
Microsoft Research, UNITED STATES

**Received: **July 22, 2016; **Accepted: **March 24, 2017; **Published: ** May 11, 2017

**Copyright: ** © 2017 Phillips et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Data Availability: **All data and code available at (https://github.com/ManchesterBioinference/GPosc).

**Funding: **NEP was supported by a studentship at the Manchester Systems Biology Doctoral Training Centre funded by the Biotechnology and Biological Sciences Research Council. CM is supported by a Sir Henry Wellcome Fellowship from The Wellcome Trust 103986/Z/14/Z. NP is supported by a Wellcome Trust Senior Research Fellowship from the Wellcome Trust 090868/Z/09/Z. MR is supported by the Medical Research Council MR/M008908/1. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests: ** The authors have declared that no competing interests exist.

This is a

PLOS Computational BiologyMethods paper.

## Introduction

Oscillatory dynamics are widespread in biology over a range of time scales, from the circannual migration and reproduction patterns of animals [1] to cytosolic calcium oscillations on the order of seconds [2]. In between these extremes lie a plethora of oscillatory phenomena [3], from circadian rhythms [4–6], the cell cycle [7–10], NF-KB oscillations in inflammation [11] and p53 oscillations in response to DNA damage [12]. Biological oscillations have attracted intense research focus due to the functional benefits conferred by oscillatory dynamics for cellular functions. The most intuitive advantage of oscillations is to function as clocks to measure time within a cycle. For example, the circadian clock is used to anticipate conditions and synchronise physiological responses to daily environmental changes [13]. Biological oscillators can be coupled to an output with much slower dynamics, such that every oscillation increases the output in a step-like manner [14, 15]. They can also be used to measure distance, such as in the segmentation clock where oscillations in gene expression are used to control the formation of somites along the elongating vertebrate body axis, which are the precursors of the segmented vertebral column [16].

In addition to measuring time and space, oscillations have attracted interest due to their unique properties of encoding information [17]. Oscillations are defined by both amplitude and frequency, and manipulation of either can be used to transmit and process information [18, 19]. For example, driving the Ras/ERK signalling pathway at different frequencies leads to downstream genes showing varied activation strengths, and hence transcription factor dynamics are decoded into multiple, distinct gene expression programs [20]. The mechanistic basis of signal decoding is thought to be the activation timescale of downstream gene targets, which is regulated by the timescales of nucleosome remodelling [21, 22].

As new potential gene expression oscillators are discovered it is essential to have tools that can objectively classify a biological time series as rhythmic or arrhythmic. This is particularly challenging in data from individual cells because mRNA and protein production and degradation are controlled by random collisions between finite numbers of interacting molecules within the cell [23, 24], which creates noise known as intrinsic stochasticity. Other sources of stochasticity in oscillatory gene expression include variability in cellular parameters (extrinsic noise; [25]) or interruption of cell-cell signalling [26]. Live imaging shows that oscillations in single cells may display variable inter-peak distances and gradual shifts in phase over time (quasiperiodicity), such that the signal will not match a perfectly periodic sine wave [23, 27, 28]. In addition, evidence suggests that gene transcription per se is a discontinuous process, where bursting episodes of transcription are interspersed with silent intervals [29], and this phenomenon can also produce fluctuating expression time series. Thus, intrinsic and extrinsic noise in single-cell expression dynamics makes it challenging to distinguish periodic (but stochastic) from aperiodic (but fluctuating) phenomena because they both produce noisy time series. Distinguising these two is important for three reasons: Firstly, biochemical oscillators are commonly generated by a combination of negative feedback, nonlinearity in reaction kinetics, time delay and appropriate matching of degradation time scales [30, 31], while bursting transcription can be produced by switching between active and inactive promoter states [32]. Identifying oscillatory activity is therefore the first step to discovering the underlying mechanism generating a given fluctuating gene expression time series. Secondly, the cell may use oscillations for encoding information [17] while it may try to counteract noise introduced by bursting transcription [33]. Thus, distinguishing the two phenomena is the first step for the experimentalist to understand how a cell may interpret the observed gene expression dynamics. Finally, genetic or molecular manipulations may cause oscillatory gene expression to cease and revert to aperiodic fluctuations. For example, *Hes1* stops oscillating when miR-9 is overexpressed [34] and other proneural genes stop oscillating when cells differentiate [27]. Here, again, it is important to be able to distinguish oscillations from aperiodic noise with some certainty in order to be confident that a change in the dynamics has occurred. We anticipate that the need for statistical methods to distinguish oscillatory from non-oscillatory gene expression will increase in the near future as bioinformatics methods are developed to identify oscillatory expression in single cell RNA-seq data [35] and as genomic editing (e.g. CRISPR/cas9) methods allow the efficient generation of reporter fusion knock-ins.

Many methods for analysing biological time series are designed for estimating the period of known oscillators, such as encountered, for example, in circadian time series (reviewed in [36]). A common and well-known method is the Fourier transform (and the power spectrum: the Fourier transform squared), which finds periodicity within a time series by matching (convolving) the signal with sine waves. One such example is the Fast Fourier Transform Nonlinear-Least-Squares algorithm (FFT-NNLS), which uses a Fourier transform to provide an initial guess of the period before fitting the signal as a sum of sinusoidal functions with a non-linear least squares procedure [37]. The Fast Fourier Transform can be inaccurate for period determination due to poor resolution in the frequency domain. Other analysis pipelines, such as spectrum re-sampling, use bootstrap methods within the power spectrum to refine the period estimate and obtain confidence intervals [38].

In addition to the Fourier transform, time series analysis using wavelets is also commonly used to estimate the amplitude and period of oscillations [25, 28]. Fourier based techniques assume that the time series is stationary, so the statistical properties such as mean, variance, autocorrelation, period etc. remain constant over time. Wavelet analysis does not assume stationarity and is therefore able to detect amplitude and period changes over time. However, the Fourier transform, the wavelet transformation and related period estimation techniques [36] do not form a statistical test to classify whether a time series is periodic.

Algorithms for assessing statistical confidence that the time series is periodic (reviewed in [39]) include methods such as JTK and RAIN [40, 41]. JTK and RAIN are non-parametric algorithms that organise the data into groups belonging to either the rising or falling part of an oscillation period. In JTK a statistical test compares the orderings of the data with those derived from a library of guessed waveforms (such as sine curve). An advantage of using only the rankings of the data points is that the method is highly resistant to outliers. RAIN tests both the rising and falling parts separately and is able to detect arbitrary, non-symmetric waveforms. However, both methods require prior knowledge of the expected period and assume that the peak-to-peak time of oscillations is constant. While they may be useful for the circadian clock, where the period is known to be approximately 24 hours, they do not form a general test that can be applied to any biological system. The Lomb-Scargle Periodogram (LSP) is another method that can be used in objectively classifying data as oscillatory or not [42–44]. The LSP is a least-squares fit of the data to sinusoidal curves and unlike the Fourier transform it can handle non-evenly spaced and missing data. The null distribution of the LSP from aperiodic white noise is known, and hence for every frequency the LSP provides the probability that the contribution could have just been produced just by white noise. It does not require a previously known period and performs well when benchmarked against other popular competing schemes [45].

A limitation of the LSP in applications to single-cell time series is that the assumed model of oscillatory and non-oscillatory dynamics may be unrealistic. The LSP and similar methods are typically benchmarked by generating a sine wave or other perfectly periodic waveform and adding white noise to simulate measurement error [36, 39, 45]. The competing methods are then tested by comparing their performance in detecting the periodicity in the simulated signals. However, the choice of waveforms is ad hoc, and there is no underlying mathematical model of the gene expression dynamics producing the oscillatory time series. Additionally, existing methods commonly assume that non-oscillatory expression is described by white noise and use this to form a null hypothesis for statistical testing [44]. The key assumption of white noise is that consecutive time series measurements are random and completely uncorrelated. However, all components of gene expression have a finite time scale of degradation such that if, for example, a protein is in high abundance at one time point, it is likely to be high at the next. This is poorly modelled by white noise, where by definition consecutive time points have no correlation. In summary, current statistical methods for detecting periodicity are not suitable for data emerging from recent single-cell imaging studies that are generated by stochastic networks of gene expression.

Another approach that is complementary to data driven approaches has been to employ “bottom-up” dynamical modelling, which takes a hypothesis of interactions within a gene regulatory network and predicts how the products of gene expression (mRNA, protein etc.) will evolve in time. Stochastic dynamical modelling accounts for the natural randomness inherent to single cells due to low copy number of interacting molecular components [46]. Even though stochastic models are also subject to assumptions they none-the-less form a mechanistic expectation of dynamics at a single-cell level. There are a range of techniques to analyse a given time series that are based on stochastic modelling (reviewed in [47]), from inferring parameters of a model of a transcription network (e.g. transcription rate) [48] to inferring a sequence of promoter states and potential refractory periods in transcriptional activity [49, 50]. Although these methods model the time series at a more mechanistic level, they once again do not output a confidence estimate as to whether the time series is periodic.

Here we describe a new method that can be used as a statistical test to determine whether a given time series is periodic or not. To develop this new method we used a mechanistic (but general) model of intrinsically stochastic gene expression to define a forward model of what we expect oscillatory and non-oscillatory dynamics to look like, using Gaussian processes. Gaussian processes then allow us to perform data analysis, and we develop a statistical method to determine the confidence that a given single-cell time series is periodic based on our expectation of oscillatory and non-oscillatory dynamics. The new method has two critical advantages over previous methods for the analysis of single cell data: firstly, it can deal with a “drifting phase” that is often present in single cell gene regulation data, such that the exact peak-to-peak time of oscillations varies and the time series is therefore poorly described as a perfectly periodic signal. This peak-to-peak variation is naturally embedded in the newly presented analysis pipeline through use of a quasi-periodic covariance function. Secondly, our non-oscillatory model accepts that a time series can be randomly fluctuating and that consecutive time points can be correlated due to the finite degradation timescales of mRNA and protein. This is more likely to be a realistic model of non-oscillatory gene expression than white noise.

We demonstrate that our approach is more effective than the LSP at classifying cells as oscillatory or non-oscillatory in synthetic data generated from a stochastic model of gene expression. We then apply our method to experimental data, and show that significantly more cells are classified as oscillating in time series from the *Hes1* genetic oscillator than an Moloney murine leukaemia virus MoMuLV 5’ LTR (MMLV) control, which is representative of fluctuating, non-oscillatory gene expression. Our analysis pipeline calculates the number of oscillating cells within a population and also parameters quantifying dynamic behaviour, such as period of oscillations. The coherence of oscillations can also be quantified through the quality Q-factor [28, 51]. It can be applied to single-cell live imaging gene expression data using reporters such as fluorescence or bioluminescence and can be used to both make comparisons between genes and to characterise changes in dynamics caused by perturbations and genetic mutations.

## Methods

The principles of the new method, which is described in detail below, are as follows: Firstly, we define a general model of gene regulation in terms of the underlying reactions of synthesis and degradation of molecular species in a single cell, whereby the copy number of the observed species changes with time. Then we apply the linear noise approximation (LNA) to the system to approximate the dynamics as a Gaussian process. In a Gaussian process model, measurements at different times follow a multivariate normal (Gaussian) distribution, which is defined only by a mean and a covariance function. The covariance function determines how correlated a pair of measurements is as a function of their separation in time. The LNA provides a theoretical model for two cases, depending on the covariance function: 1) intrinsically noisy oscillations, 2) random aperiodic fluctuations, which form the null model of non-oscillatory behaviour. These define a mechanistic, albeit abstract, model-based representation of single-cell gene expression dynamics.

Stochastic modelling and the LNA is a forward modelling approach in that we can generate time series data from a given model. Our next step is to perform this process in reverse and infer the most likely model from a given time series, which can be derived from synthetic or experimental data. As the LNA describes a Gaussian process, the tools of non-parametric regression with Gaussian processes can be used to compute the probability of the data under a process with an oscillatory or non-oscillatory covariance function [52]. We can then provide a confidence estimate that the time series is periodic using the likelihood ratio between the oscillatory and non-oscillatory models. Finally, we use synthetic non-oscillatory data (defined by the appropriate covariance function) to choose a classification threshold for the likelihood ratio statistic in order to control the false discovery rate (FDR) at a specified significance level. MATLAB code to implement the method and reproduce all of the figures is available at https://github.com/ManchesterBioinference/GPosc.

### Defining a general model of gene expression dynamics

We firstly define a general model of gene expression and then show how its dynamics can be approximated as a Gaussian process. The biochemical reactions controlling gene expression are the result of probabilistic encounters between discrete numbers of molecules. The exact order and timing of reactions are random, and this is mathematically described with the chemical master equation (CME). The CME formulates the stochastic kinetics in terms of underlying reactions, and captures the probability of having a certain number of molecules as a function of time. The CME is formulated from the underlying microscopic reactions of the system, where *R* chemical reactions change the molecule number of *N* chemical species
(1)
where *j* is the index of the reaction number, *X*_{i} is the chemical species *i*, *s*_{ij} and *r*_{ij} are the stoichiometric coefficients and *f*(*X*)_{j} is the rate of reaction *j*, which depends on both the network of interactions and the kinetics of the reaction. The probabilistic evolution of the system is described with the CME, and approximate solutions can be found using van Kampen’s system-size expansion [53, 54]. The system-size expansion decomposes the time evolution of each chemical species into a deterministic and stochastic contribution, where the relative amplitude of stochastic fluctuations decrease with the inverse of the square root of the system size (i.e. relative fluctuations decrease with higher molecule number)
(2)
where *x*(*t*) is the deterministic solution, Ω is the system size and *ϵ*(*t*) describes the stochastic fluctuations around the deterministic solution. While *n*_{i} represents the discrete copy number of reactants, *ϵ*_{i} can be modelled as a continuous random variable for large *n*_{i} and Ω. The ansatz (Eq (2)) can be used to derive the LNA (see Elf and Ehrenberg [55] for details). When the deterministic equations reach a fixed-point, the LNA recovers a system of linear Langevin equations for the dynamics of the stochastic fluctuations
(3) (4) (5)
where *J* represents the Jacobian of the deterministic dynamics evaluated at steady state, *D* represents the diffusion matrix, and *ζ*(*t*) is Gaussian white noise with 〈*ζ*_{i}(*t*)*ζ*_{j}(*t*′)〉 = *δ*_{ij} *δ*(*t* − *t*′). The stoichiometric matrix, *S*, describes how molecule numbers of each species are changed by reactions, and it is given by *S*_{ij} = *r*_{ij} − *s*_{ij}. Eq (3) describes the dynamics of noisy fluctuations around a deterministic steady-state. It defines a Gaussian process, where the fluctuations ** ϵ**(

*t*) are distributed as a multivariate normal distribution. A multivariate normal distribution is fully described by its mean and covariance. As the deterministic equations are at a steady state, the mean of the process is zero. The covariance function

**K**(

*τ*) can be solved analytically, as the Langevin equations derived through the LNA are linear (a multivariate Ornstein Uhlenbeck (OU) process) [56], (6) where

*τ*= |

*t*−

*t*′| is the time difference between two points. The quantity

*σ*satisfies (7)

### Modelling single cell oscillations and aperiodic random fluctuations

Eq (3) defines a general representation of single-cell gene expression dynamics approximated as a Gaussian process, and from this general representation we now define models of single-cell oscillations and aperiodic random fluctuations. The Jacobian contains information on all of the parameters of the model and is dependent on the network interactions, which may not be known. To simplify the covariance function, the Jacobian can be diagonalised by the transformation *UJU*^{−1} = *diag*(λ_{1}, λ_{2}, …, λ_{N}), and the covariance matrix is transformed to . The covariance function for eigenvector *i* is then
(8)

The eigenvalue λ_{i} can either be real or complex, and we therefore define two covariance functions, labelled “OU” and “OUosc”

The OU covariance function represents a process with aperiodic stochastic fluctuations and no peak in the power spectrum [56]. The OU covariance function has two parameters: *σ*_{OU}, quantifying the variance of the generated signal, and *α*, which describes how rapidly the time series fluctuates. Illustrative examples are provided below. The OUosc covariance function defines a quasi-periodic oscillatory process which captures the peak-to-peak variability inherent to stochastic biochemical oscillators. For simplicity we have only taken the real component of the eigenvector covariance function, and hence there is only a term proportional to exp(−*ατ*)cos(*βτ*), although in principle an even more general model could include an additional contribution proportional to exp(−*ατ*)sin(*βτ*). Note that the OUosc covariance function has been similarly derived for a 2-dimensional underdamped oscillator modelled with linear langevin equations [57], but was not used for likelihood-based inference in that work. Like the OU covariance function, OUosc similarly contains both *σ*_{OUosc} and *α* parameters quantifying the variance and time scale of fluctuations, respectively, but it also contains a cos(*βτ*) term. The covariance function displays damped oscillations at frequency *β*, and the system therefore undergoes stochastic oscillations at this period. Crucially, the OUosc covariance function is damped, and therefore peaks in the time series will only be locally correlated in time. For a given position of a peak in the time series, the timing of the next peak will be relatively well known, but subsequent peaks become increasingly difficult to predict, depending on the length scale of the dampening *α*. The dampening of correlation over time leads to the phase drift and peak-to-peak variability within single-cell oscillators.

To visualise the time series generated by Gaussian processes with OU and OUosc covariance functions, Fig 1 shows realisations with different parameter values. The amplitude (variance) of fluctuations is controlled by *σ*, which changes the scale bar, but does not change the dynamical properties; this is kept at 1 for all examples. For the non-oscillatory OU covariance function, the *α* parameter controls how long fluctuations are correlated in time. When *α* is high the covariance function is heavily damped and successive time points have low correlation (Fig 1A). As the correlation is low, future time points are highly unpredictable and hence the time series rapidly fluctuates. In contrast, when the damping parameter *α* is low, time points are correlated over longer time scales, as shown in Fig 1B. For the OUosc function, the *β* parameter controls the frequency of oscillations while *α* similarly controls the rate of decay of the covariance function. Together, these parameters regulate the peak-to-peak variability and coherence of oscillations. The quality of oscillations can be quantified by the oscillation Q-factor, which quantifies the ratio of the frequency of oscillations to the timescale of damping [51]
(11)

(A) Simulation of OU covariance function with *α* = 0.5, *σ* = 1. (B) Simulation of OU covariance function with *α* = 0.01, *σ* = 1. (C) Simulation of OUosc covariance function with *α* = 0.04, *β* = 0.5, and *σ* = 1. (D) Simulation of OUosc covariance function with *α* = 0.2, *β* = 0.5, and *σ* = 1. Dotted lines in (C) and (D) are sinusoids with frequency *β* = 0.5, where the first peak is fitted to the first peak of the data.

When the decay of the covariance is slow relative to the frequency of oscillations, oscillations are correlated for many cycles and there is low peak-to-peak variability, as shown in Fig 1C. The oscillations are of high quality (high Q-factor), and they reasonably match a sine wave at exactly the oscillatory frequency. However, when the quality is low (low Q-factor), the peak-to-peak variability becomes significant, and the signal is poorly described by a perfectly periodic sine wave (Fig 1D).

### Gaussian process regression to classify cells as periodic or aperiodic

Having derived stochastic models of single cell oscillations and aperiodic fluctuations, our goal is to assess whether a given time series is better described by a non-oscillatory OU or an oscillatory OUosc model. Firstly, we show that we can compute the probability of the time series data under both Gaussian process models. This allows us to define the log likelihood ratio (LLR) of the two models, which is used for model selection between the non-oscillatory OU and the oscillatory OUosc model and provides a level of confidence that a time series is periodic.

As the LNA describes a Gaussian process, the tools of non-parametric regression with Gaussian processes can be used to determine the likelihood function for both the OU and OUosc models [52]. Simulating a Gaussian process time series with either the OU or OUosc covariance function and measuring the value at times **t** will generate a random vector *f*(**t**). Due to the randomness of the process, however, this represents just one sample from an infinite number of trajectories that could be created. Gaussian process regression is so powerful because it is analytically tractable to state the probability of the data being generated by a given model, even though there are infinite possible trajectories that the stochastic model could take. By integrating (marginalising) over all possible trajectories, the marginal likelihood of the data set **y** for a given model is
(12)
where *θ* are the hyperparameters of the models, which in the current context is *α*, *β* and *σ*. The covariance matrix *K* has elements from the *K*_{OU} or *K*_{OUosc} covariance function evaluated at the time points where the data are collected. The first term describes how well the model fits the data, whereas the second term penalises model complexity of the covariance function. If the covariance function is rapidly damped (high *α*), then it describes a process with extremely short timescales. As the process fluctuates rapidly, it will be able to fit the data well regardless of whether it is a true representation of the dynamics, and this second term corrects for this overfitting. The third term is a normalisation constant. If the data are subject to measurement error, each observation *y*(*t*) can be related to the underlying function of the cellular behaviour *f*(*t*) through a Gaussian noise model
(13)
where represents the variance of the measurement noise. The noise can be combined with the covariance function
(14)
The task is then to find the maximal likelihood for both the OU and OUosc covariance functions, which is found by varying the hyperparameters to find an optimum. The partial derivative of the marginal likelihood with respect to hyperparameters is
(15)

The maximum marginal likelihood is found when the derivative of the marginal likelihood with respect to hyperparameters becomes zero. The marginal likelihood was maximised for both OU and OUosc models using the MATLAB GPML toolbox [58], and the maximum likelihood of the two models can then be compared. The difference in the log-likelihood of the two models is known as the log-likelihood ratio, and the LLR between the OU and OUosc models then provides a statistic to determine whether the data is oscillating as opposed to aperiodic random fluctuations.

### Detrending to identify oscillations embedded in long term trends

As well as oscillatory activity, gene expression may exhibit long term trends. Without accounting for trends in the data, oscillations can become harder to detect because the signal is dominated by an aperiodic long term trend. The OUosc model describes oscillations with variability in amplitude and period, but the mean of the covariance function is zero. Over long time scales it is clear that the average of the signal generated by the OUosc model remains constant (S1 Fig), and consequently experimental data with long term trends may be poorly described by the OUosc alone and oscillations that co-exist with long term trends could be missed.

We therefore require a method to detrend the data and allow the detection of oscillations superposed on long term trends. Typically, detrending data involves fitting and removing a polynomial [37, 57]. Here we detrend using Gaussian processes, which has the advantage that we do not have to specify an exact functional form of the trend. We use the squared exponential (SE) covariance function, because it describes a general smooth process
(16)
where *τ* = |*t* − *t*′| as before. The parameter *α*_{SE} can alternatively by expressed as a lengthscale of correlation, *l*_{SE}, with . Fig 2 illustrates how the addition of long term trends can interfere with the detection of oscillatory dynamics. Fig 2A shows an example of a time series from an OUosc model, and the calculated LLR of 39.6 is strongly in favour of oscillations. Random functions drawn from the SE covariance function are then displayed in Fig 2B, where the length scale of the trend is set by the parameter *α*_{SE}. Crucially, when the long term trend is added to the original oscillatory signal, the calculated LLR markedly drops to 1.12, favouring the OU model (Fig 2C). The essence of the detrending approach is to run this process in reverse, by first fitting an SE trend model to the data (Fig 2C green line). By applying our detrending method and removing the fitted trend, the LLR of 41.8 once again indicates the presence of oscillations, as shown in Fig 2D. When fitting the trend it is important to remove long term trends while preserving the oscillatory signal, and if the trend line is allowed to be too flexible it will fit both. To avoid this problem one can set an upper bound on *α*_{SE}, such that there is a minimum length scale that the trend will remove. The importance of this upper bound is discussed in the results section. Note that both the trend and the OU/OUosc covariance functions can in principle be fitted simultaneously, but we found that optimisation of the hyper-parameters was often caught in poor local optima and therefore use a two-stage procedure.

(A) Simulation sample from OUosc covariance function with *α* = 0.2, *β* = 0.5, and *σ* = 1. (B) Simulation of 3 different samples of SE covariance function with *α*_{SE} = 0.01 and *σ*_{SE} = 1. Solid black example is used then added to signal (C) Superposition of original signal (A) with long term trend ((B), shown as dotted black line). Dotted green line represents trend fitted from data. (D) Detrended final signal used for analysis, found by subtracting the fitted trend from (C).

### Choosing an LLR threshold to classify cells and control false discoveries

In order to classify a cell as oscillatory or non-oscillatory a threshold in the LLR must be reasonably chosen. The LLR between two models can be used in a log-likelihood ratio test to choose whether to reject the null (non-oscillatory) model in favour of the alternative model. When the models are nested, the test statistic is usually assumed to be asymptotically chi-squared distributed (using Wilks’ theorem). However, Wilks’ theorem assumes that the estimated parameters are in the interior of the more complicated model, and this does not apply here because the OU model is only equivalent to the OUosc model when the frequency is zero. We therefore use an empirical approach for choosing an LLR threshold to define a cut-off between oscillatory or non-oscillatory classification, that we now describe.

An objective metric on which to base the LLR threshold is the false discovery rate (FDR). The FDR seeks to control the proportion of cells passing the oscillatory test that are actually non-oscillatory, but it differs from the false positive rate (FPR) often used in statistical testing. Given a particular LLR threshold, the FPR is the proportion of cells called significant (oscillatory) when they are actually null (non-oscillatory). The FPR is typically controlled by setting a significance level on the p-value, which is the probability of the observed test statistic under the null hypothesis (in our case the LLR). In contrast, the FDR quantifies the expected proportion of cells falsely called significant as a percentage of the total number of cells passing the threshold. So if, for example, out of 100 non-oscillatory cells the LLR threshold is chosen such that 5 are deemed significant, then the FPR is 5%, but the FDR is 100%, because all 5 of the cells called significant are actually false. The FDR therefore provides a better representation of the balance between the number of true positives and false positives in classifying cells.

Analogous to the p-value to control the FPR, the q-value is the minimum FDR attained at or above a given LLR score. For a particular LLR threshold, the associated q-value is the expected number of false positives as a proportion of all cells that exceed the threshold. To control the FDR and calculate q-values we follow the procedure proposed by Storey and Tibshirani [59]. The FDR is quantified as
(17)
where *π*_{0} is the estimated proportion of non-oscillating cells and FPR is the probability of non-oscillator passing. The method relies on first estimating the proportion of non-oscillating cells (*π*_{0}) by comparing the shape of p-values from the analysed data set with that expected from a population of non-oscillating cells. The original protocol uses the statistical properties of p-values, specifically that under the null hypothesis (i.e. a population of non-oscillating cells) the p-values are uniformly distributed between 0 and 1. As we calculate a LLR instead of a p-value, we cannot assume that the distribution of LLR scores is uniform (i.e. we do not know the expected distribution of LLR scores of non-oscillating cells). We therefore find this distribution through a bootstrap approach where we simulate many cells with the null aperiodic OU model and calculate the LLRs. In order to choose parameters to simulate cells we use the parameters of the OU model fitted to the data. Sampling from the null models to compute the test statistic is known as a Cox test [60, 61]. The procedure of calculating q-values is as follows:

- Calculate the LLR score for each cell in the data set. For each cell in the data set to be analysed (either experimental or computationally generated), fit an oscillatory (OUosc) and non-oscillatory (OU) Gaussian process model to the detrended data, and calculate the LLR difference between the fits of the two models. The LLR is normalised by dividing by the length of the data and multiplying by 100 (to make units more rounded). Let represent the ordered
*LLR*values of the time series from the data. - Create a synthetic data set to approximate the LLR distribution expected from the null (OU) model. Generate 2000 synthetic cells by sampling equally from the parameters fitted by the trend and OU non-oscillatory model for each cell. If the data set consists of 100 cells, then the fitted trend and OU parameters of each cell would be used to create 20 synthetic cells, for example. Let represent the ordered
*LLR*values of the synthetic time series. - Estimate the proportion of non-oscillating cells by comparing the shape of the data set with that of non-oscillating cells generated in (2). For a range of λ, (e.g. λ = 0.1, 0.15, …, 1 between minimum and maximum LLRs), estimate proportion of cells in the data set that are non-oscillatory
(18)
where # denotes the number of cells.
*π*_{0}must be estimated by tuning the parameter λ. Allowing to be natural cubic spline with 3 degrees of freedom of*π*_{0}(λ) on λ, set the estimate of*π*_{0}to be (19) - Calculate the q-value of each cell in the data set.
(20)
For
*i*=*m*− 1,*m*− 2, …, 1 calculate (21)

By controlling the q-value at a certain threshold (*q* < *γ*) we are then able to quantify the number of oscillating and non-oscillating cells within the population.

### Generating synthetic oscillatory and non-oscillatory data for evaluating classification performance

In order to assess the performance of the method to discriminate periodic and aperiodic signals, we generated synthetic data from a stochastic model consisting of reactions between discrete numbers of molecules in a network with a known oscillatory and non-oscillatory regime. Specifically, we used a model of the *Hes1* genetic oscillator [62, 63], which consists of negative autoregulation with delay. The network topology is illustrated in Fig 3, and it is comprised of the following four reactions
(22)
(23)
(24)
(25)
The first two reactions correspond to mRNA and protein degradation, respectively, where *μ*_{m} and *μ*_{p} are parameters describing their degradation rates. The third reaction describes the production of HES1 protein through translation, and is dependent on both the number of mRNA molecules and the translation rate parameter *α*_{p}. The final term represents the production of *Hes1* mRNA through the process of transcription. The negative repression of transcription by HES1 protein is modelled with the Hill function *f*(*n*_{p}) = *α*_{m}/(1 + (*n*_{p}/*ΩP*_{0})^{h}), where *P*_{0} and *h* are constants representing the strength of negative repression and Ω represents the system size. The double arrow denotes that this reaction contains the total delay within the system, such that when the reaction is triggered at *t*, an mRNA molecule is not produced until *t*+*τ*. The parameters of the model control whether the system undergoes oscillations or aperiodic fluctuations [63, 64]. Data was simulated in an oscillatory and non-oscillatory parameter regime using the delayed version of Gillespie’s stochastic simulation algorithm [65, 66]. To compare with a pre-existing method, we also applied the LSP to the data using the “plomb” function within MATLAB.

### Experimental procedures

#### Cell-lines.

C17.2 cells were grown in DMEM (ThermoFisher Scientific, UK) with 10% FBS (ThermoFisher Scientific, UK). The *Hes1* reporter construct contained 2.7kb of *Hes1* promoter upstream of destabilised ubiquitin-luciferase followed by the 540 bp *Hes1* 3’UTR [26] within the pcDNA4 backbone plus Zeocin resistance gene. The control promoter construct comprised the pBabe puro retroviral backbone [67] containing the Moloney Murine Leukemia Virus Long Terminal Repeat (MMLV-LTR) upstream of destabilized ubiquitin-luciferase plus a Puromycin resistance gene. Generation of stable *Hes1* reporter or control reporter cell-lines was performed by transfection of pcDNA4-*Hes1*::ubq-luciferase WT 3’UTR or pbabepuro::ubq- luciferase respectively into C17.2 cells using Lipofectamine 2000 (ThermoFisher Scientific, UK) and addition of 1 mg/ml Zeocin (ThermoFisher Scientific, UK) or puromycin (Sigma, UK) 5ug/ml after 48 hours. Cells were maintained in antibiotic selection for 2 weeks and individual resistant colonies picked to generate single-cell clones. C17.2 *Hes1*::ubq-luciferase clones were tested for luciferase expression and response to transient Notch1 Intra-cellular domain over-expression in a FLUOstar Omega plate reader (BMG LabTech, UK). A representative clone was used for subsequent imaging.

#### Bioluminescence imaging.

C17.2 reporter cells were plated on 35mm glass-based dishes (Greiner-Bio One, UK) and were allowed to adhere before serum withdrawal for 3 hours and subsequent imaging in the presence of 10% serum and 1mM D-luciferin (Promega, UK). Plates were placed on an inverted Zeiss microscope stage and maintained at 37°C in 5% CO2. Luminescent images were obtained using a 10x 0.3NA air objective and collected with a cooled charge-coupled device camera (Orca II ER, Hamamatsu Photonics). A 30 minute exposure and 2x2 binning was used.

#### Image analysis.

Bioluminescent movies were analysed in Imaris (Bitplane, UK). Images were first subject to a 3x3 median filter to remove bright spot artefacts from cosmic rays. Individual cells and background regions were tracked manually using the “spots” function and single cell bioluminescence values over time were extracted. Four background areas containing no cells were used to estimate and constrain the experimental noise parameter *σ*_{n} in Eq (14).

## Results

In order to characterise the performance of the new method based on Gaussian processes we compare it with the LSP on synthetic data generated by a stochastic model of the *Hes1* genetic oscillator. We subsequently apply the method to live-cell reporter imaging from C17.2 neural progenitor cells to assess ability to discriminate dynamic gene expression generated by two different types of promoters: *Hes1* and MMLV.

### Performance on synthetic data

Having defined a stochastic model to generate synthetic data, we now proceed to evaluate the performance of the new Gaussian process method versus the LSP [44] in classifying cells as oscillatory or non-oscillatory. The data is generated from a computational model of the *Hes1* oscillator, which is a system of negative autoregulation with delay (see Fig 3). It is known a priori whether a time series generated by this model is periodic or aperiodic because it depends on the choice of parameters. Thus, we can use these synthetic data to quantify the statistical performance of the two methods.

In order to ascertain that the model is in an oscillatory or non-oscillatory regime, we calculate the average power spectra for cells simulated with the two different parameter sets (parameters given in Fig 4). The power spectrum is the Fourier transform squared, and while is does not individually classify cells, it shows the average behaviour of a large population. For the non-oscillatory regime the average power spectrum of 1000 cells shows no peak (Fig 4A), indicating that the cells undergo random fluctuations with no characteristic periodicity. The average power spectrum from the oscillatory regime shows a clear peak at a frequency of 0.5 hours^{−1}, corresponding to a period of 2 hours (Fig 4B).

(A), (B) Power spectra of protein concentrations calculated from 1000 independent Gillespie simulations. Measurements start at t = 5000 mins in order to allow for equilibration. Model parameters for (A) are *P*_{0} = 300, *h* = 1, *τ* = 0, *α*_{m} = *α*_{p} = 1, *μ*_{m} = *μ*_{p} = 0.07 and Ω = 20. Model parameters for (B) are *P*_{0} = 100, *h* = 3, *τ* = 18, *α*_{m} = *α*_{p} = 1, *μ*_{m} = *μ*_{p} = 0.03 and Ω = 20. (C), (D) Time series examples and associated LLR scores from (A) and (B), respectively. (E), (F) LSP of time series (C) and (D), respectively.

We simulated data from 1000 cells for the *Hes1* model in both the oscillatory and non-oscillatory parameter regimes, and the protein levels were measured every 30 minutes for 25 hours, which is approximately the same as available for experimental data [15]. Measurement noise with a variance of 10% of the signal was then added to each time point. An example time series from the non-oscillatory regime is shown in Fig 4C, and the calculated LLR for the cell was 6.5. Simulating 2000 synthetic cells with the OU model fitted to this data allows us to quantify the approximate p-value, which was calculated to be non-significant (p-value >0.05). Fig 4D shows an example from the oscillatory regime, with an associated LLR of 44.6. This value is greater than any produced by a synthetic population of 2000 OU non-oscillators and is hence classified as significant (upper bound p-value of 5 × 10^{−4}).

The LSP of the non-oscillating cell (Fig 4C) is highly noisy and contains strong contributions at multiple frequencies (Fig 4E). The signal exceeds the threshold for a significant p-value threshold of 0.05, and is therefore classified as oscillating. This particular cell would represent a false positive at this particular p-value threshold of 0.05. The LSP of the oscillating cell is shown in Fig 4F, where the signal passes the 0.05 p-value significance threshold, and is classified as oscillating.

We use the Receiver Operating Characteristic (ROC) curve to systematically compare the performance of both methods [68], which plots the true positive rate against the false positive rate of classifying oscillating cells for the synthetic data set. Both methods require a threshold to classify a cell as oscillatory (either LLR for Gaussian process or p-value for LSP), and varying the threshold controls the number of false positives to true positives. The ROC illustrates the performance of both methods as the threshold is varied, where a greater area under the curve indicates a better ratio of true positives to false positives.

For the first synthetic data set used to generate a ROC curve, the protein levels were measured every 30 minutes for 25 hours and measurement noise with a variance of 10% of the signal was then added to each time point (representative time series of non-oscillating and oscillating cell shown in Fig 5A and 5B, respectively). The area enclosed by the ROC curve of the new method is greater than the LSP (Fig 5C), and this shows that it is able to distinguish oscillating and non-oscillating cells with higher performance for the synthetic data set. When the level of experimental noise is increased to 50% of the signal, the time series look noisier (Fig 5D and 5E). The area under the ROC curve is reduced for both methods, although the Gaussian process method still performs better (Fig 5F). For the final data set we consider experimental noise of 10% of the signal and a reduced length of 10 hours (Fig 5G and 5H). The area under the curve is smaller for both methods, which demonstrates that the performance of detecting periodic signals is poorer when the time series is short, although the Gaussian process again still performs better (Fig 5I). Note that while the area under the ROC curve is larger for the Gaussian process method, this in isolation does not imply that statistical power is better than the LSP method. The method of FDR control determines the rejection threshold and hence position on the curve, which can in principle be more conservative with fewer true positives.

(A, D and G) Representative time series of non-oscillatory gene expression at different noise levels and time lengths. (B, E and H) Representative time series of oscillatory gene expression at different noise levels and time lengths. (C, F and I) ROC curves: the true positive against false positive rate at different noise levels and time lengths. Red, LLR Gaussian process method; blue, LSP.

### Effect of detrending on FDR performance

In order to investigate the effect of detrending on the performance of classification and period estimation, we added a long term trend at a length scale of *α*_{SE} = exp(−4) to oscillatory and non-oscillatory synthetic data (representative time series of oscillating cell shown in Fig 6A). Each cell was then detrended using an upper bound on the detrending parameter *α*_{SE} of exp(−6), exp(−4) and exp(−2). The higher the upper bound, the more flexible the fitted trend is to the data (Fig 6B, 6D and 6F). We sought to characterise the effects of detrending on the performance of FDR estimation. The FDR estimation involves using the estimated number of non-oscillating cells, *π*_{0}, which changes for the different length scales (S2 Fig). When the detrending parameter is lower than the true trend and does not provide enough flexibility (exp(−6), Fig 6B), (20/1000) non-oscillating cells passed the test while (817/1000) oscillating cells passed, giving an achieved FDR of 2.4% and true positive rate (TPR) of 82%. When the correct length scale of exp(−4) is used (Fig 6D), (59/1000) non-oscillating cells passed the test while (955/1000) oscillating cells passed, giving an achieved FDR of 5.8% and TPR of 96%. Finally, when the detrending parameter provides too much flexibility (exp(−2), Fig 6F), (68/1000) non-oscillating cells passed the test while (958/1000) oscillating cells passed, giving an achieved FDR of 6.6% and statistical power of 96%. The average estimated period of the oscillating cells is also affected by the detrending length scale, where the period decreases from 2.66 to 2.41 hours as *α*_{SE} is increased from exp(−6) to exp(−2) (Fig 6C, 6E and 6G).

(A) Representative time series of oscillatory gene expression with trend added. Green, raw expression; red, added trend; blue, the sum of the two signals. (B, D and F) The fitted trend line using upper bound of *α*_{SE} = exp(−6), exp(−4) and exp(−2), respectively. Blue, signal; red, fitted trend. (C, E and G) The estimated period of the detrended time series.

### Calibrating the detrending parameter

We sought to quantify the effect of the lengthscale in a systematic way to provide a guideline for a sensible parameter choice to achieve good statistical power while controlling the FDR at a low level. The detrending pipeline is designed to remove long term trends within the data, but if the lengthscale is too short then it can remove the oscillatory signal. We therefore tested the effect of the detrending lengthscale on the false positive rate, statistical power and FDR when a range of different trends is added to synthetic data from the *Hes1* model.

When no trend is added to synthetic data but the lengthscale of detrending is very short, the oscillations are removed and statistical power is lost (S3A Fig). Conversely, if the detrending lengthscale is too long then statistical power is lost in synthetic cells with an added trend, as the detrending lengthscale is too slow to remove the trend. This is observed over a range of added trends, using a trend parameter *α*_{SE} of exp(−3.5), exp(−4) and exp(−4.5), corresponding to a lengthscale of 4.1, 5.2 and 6.7 hours, respectively (S3B–S3D Fig). At a detrending lengthscale of approximately 3 times the oscillation period (7.5 hours) there is a good balance between statistical power (82-97%) and FDR (5.1-7.2%). We therefore recommend a default setting of roughly 3 times the expected period, but this can be adjusted within the package.

To investigate if this recommended setting generalises to other systems we also simulated a model of p53 dynamics. The p53-mdm2 circuit responds to DNA double-stranded breaks induced by gamma irradiation [69]. Double-stranded DNA breaks activate p53, which in turn transcriptionally activates mdm2. Mdm2 subsequently targets p53 for degradation, and hence the p53-mdm2 network forms a negative feedback loop. After gamma irradiation the levels of p53 oscillate with a period of around 6 hours. We simulated a model of p53 dynamics that has been demonstrated to well-describe the observed oscillatory dynamics (Model IV, [12]) and used parameters that were found to be the best fit to data (S4A Fig). To simulate non-oscillatory dynamics we removed the negative feedback by making p53 degradation independent of Mdm2 (S4B Fig). We then also quantified the effect of the detrending lengthscale by adding trends at *α*_{SE} of exp(−5) and exp(−6), corresponding to a lengthscale of 8.6 and 14.2 hours, respectively (S4C and S4D Fig). Using the recommended detrending lengthscale of 18 hours controls the FDR to a reasonable level of around 6.6% in both cases.

Note that the reason why the achieved FDR can exceed the expected value of 5% is due to approximations used in our parametric bootstrap approach. Approximations enter at various steps, and the synthetic bootstrap data does not perfectly represent the Gillespie data used to simulate cells, which leads to an LLR distribution of non-oscillating cells in the Gillespie simulations that is broader than the synthetic bootstrap distribution (S5 Fig). The difference between the true non-oscillating LLR distribution and the bootstrap approximation can be quantified with the Kolmogorov-Smirnov (KS) distance. The KS distance using the bootstrap approach (0.066, S6A Fig) is smaller than than that obtained with a Chi-squared distribution with one degree of freedom to account for extra parameter (0.21, S6B Fig), and hence the bootstrap method is a better proxy for the null distribution, although it is not perfect. The first challenge is to perfectly disentangle trends from the underlying signal, and the variance of the trend may be underestimated. The second is that Gillespie simulations are only approximated by Gaussian processes, and even without any trend added the LLR distribution do not perfectly match (S7 Fig). However, even when non-oscillating data are generated by an OU Gaussian process the average LLR score is still lower in the synthetic bootstrap (S8 Fig). This may be because the time scale of fluctuations is typically underestimated i.e. fluctuations are inferred to be more rapid than they really are. This issue of biased parameter estimation is mitigated when the time series is longer and the averages are better matched.

In conclusion, the method of classifying cells based on Gaussian processes is more effective than the LSP on data simulated with a stochastic model over a range of noise levels and time lengths. Our estimated FDR provides a useful threshold for controlling false discoveries and we suggest a detrending lengthscale to provide a compromise between false discoveries and statistical power.

### Model mis-specification

During the derivation of our method there are several approximations to take a forward model of a general stochastic network and represent it as a simple Gaussian process with one of two covariance functions. When the underlying dynamics of the network are not well-captured by our approximation then our model may become mis-specified. To test the robustness of our method to model mis-specification, we considered three ways this can occur:

- The LNA is valid at large system size, so when the number of molecules is low (low system size) then the LNA can lose accuracy and the system may no longer behave like a Gaussian process. These effects can be particularly strong when there are nonlinear reaction steps in the system, the parameters of the model lead to oscillations (near a Hopf bifurcation) and the copy number of interacting species is low [70]. To validate that our approach still worked on non-Gaussian data we simulated the
*Hes1*network at a low system size of Ω = 1. Here, the waveform becomes asymmetric (S9A Fig), and the magnitude of peaks are larger than troughs. This also leads to an asymmetry in a histogram of all the data points (S9B Fig), with a skew towards larger values. Our method still works well in this regime and successfully classified 99% of oscillating cells, despite the underlying data deviating from a Gaussian process. - The LNA works by considering fluctuations around a single steady state. Some networks are able to generate bistability, with two steady states. An example of such a network is shown in (S10A Fig), where two transcription factors mutually repress each other’s transcription and lead to stable protein 1 high/ protein 2 low (or vice versa) configurations. Fluctuations caused by intrinsic noise are able to switch the system from one stable configuration to the other, as shown in examples (S10B and S10C Fig). Occasionally the switching can look rhythmic, leading to a high LLR score (S10B Fig), whilst other times the score is low (S10C Fig). The behaviour of a bistable network at a population level was simulated with 2000 cells, and the LLR score is shown in S10D Fig. The LLR score produced by a non-oscillating population of OU bootstrap samples shows a very similar distribution (S10E Fig). In this case the test becomes very conservative, and no cells from the bistable network pass as oscillators.
- During the derivation we assume there is only one dominant behaviour within the time series (one eigenvalue of the covariance function, and hence only one frequency). This assumption can be violated when the dynamics are more complicated, and an example of this is when there are two characteristic frequencies within the data. S11A Fig shows a time series created by adding two OUosc functions with different frequencies together: a 2.5 and a 24 hour period. If the expected period of 2.5 hours is used to detrend with a length scale of 7.5 hours (3x expected), then the trend matches the long period oscillation (red, S11A Fig). When this trend is removed then the short period oscillations are recovered (S11B Fig), but the longer frequency is filtered out.

Taken together, these examples show that our method is robust to at least some common cases of mis-specification, although manual inspection of the data is recommended to establish whether the time series data differ substantially from an OU or OUosc Gaussian process. The data analysis pipeline can be in principle be adapted to handle more complicated dynamics through adding multiple covariance functions together and including methods such as changepoint detection (see Discussion).

### Application to bioluminescence imaging data

Having demonstrated the utility and accuracy of our method on synthetic data, we then applied the method to an experimental data set consisting of time series from live single-cell bioluminescence imaging. A firefly luciferase reporter was driven either by the 2.7 Kb region of the *Hes1* promoter or by a constitutive MMLV promoter. The bioluminescence of single cells was measured by exposing the camera to signal over 30 minutes, to give time points every 30 minutes, where the length of time series ranged from 26 to 72 hours. The *Hes1* promoter has been previously reported to drive oscillatory expression due to negative feedback of the HES1 protein on its own promoter [26, 71], although the proportion of oscillating cells within an experimental population of cells has not been previously reported. Examples of the time series generated by a sequence of bioluminescent images from both promoters are shown in Fig 7. As can be seen in the traces of single cells in Fig 7, both the oscillatory (Fig 7A–7C) and the constitutive reporter (Fig 7D–7F) show dynamic expression with many peaks and troughs. Intuition is insufficient to classify these cells, and an objective statistical measure must be used.

(A) Bioluminescence images of an individual cell with luciferase driven by *Hes1* promoter. (B) Raw time series of bioluminescence quantification from A. (C) Detrended bioluminescence time series. (D) Bioluminescence images of an individual cell with luciferase driven by MMLV promoter. (E) Raw time series of bioluminescence quantification from D. (F) Detrended bioluminescence time series. Both reporters show dynamic expression.

All cells from both the *Hes1* (19 cells) and MMLV promoter (25 cells) were analysed by calculating the LLR between OU and OUosc models. The LLRs of the *Hes1* promoter cells ranged from 0 to 40, with a reasonably uniform distribution over the entire range (Fig 8A). The distribution of the LLRs for the MMLV promoter cells were more peaked towards lower values, with fewer cells having a high LLR (Fig 8B). The FDR is then required to decide the LLR cut-off threshold and quantify the numbers of oscillating cells in each population.

(A) The LLR distribution of 19 cells with the *Hes1* promoter. (B) The LLR distribution of 25 cells with the MMLV promoter. (C) The LLR distribution of 2000 synthetic cells generated from the OU model using parameters fitted to A and B.

Using the parameters of the trend and OU model fitted to both the cells with *Hes1* and MMLV promoter, we simulated 2000 synthetic cells from the OU model and calculated the LLR. This defined our null distribution of LLRs, representing the distribution expected from a population of non-oscillating cells (Fig 8C). The LLR distribution from the null distribution was more similar to the MMLV promoter than the *Hes1* promoter (compare Fig 8B with 8C), indicating that the proportion of non-oscillating cells in the MMLV promoter data set was higher. By comparing the null distribution with the experimental data from the *Hes1* and MMLV promoter we obtained an estimate of the FDR at various LLR thresholds, and we control the FDR at 5%. At an FDR of 5%, 10/19 of the cells from the *Hes1* promoter exceed the LLR threshold and are classified as oscillatory, whereas 0/25 cells from the MMLV promoter pass. This shows that the method is able to classify a higher proportion of cells as oscillatory from single cell gene expression data of a promoter with known oscillatory behaviour relative to a promoter with constitutive expression. If the FDR is made less stringent and controlled at 10%, 12/19 *Hes1* and 0/25 MMLV cells pass the test.

Applying the LSP to the same data set leads to all cells passing as oscillators (19/19 *Hes1* and 24/25 MMLV cells pass). Using our developed detrending protocol and applying the LSP on the detrended data with Benjamin-Hochberg FDR correction as presented in [44] leads to 11/19 *Hes1* and 4/25 MMLV cells passing the test. This suggests that our detrending pipeline may be used by other methods to improve performance, although the FDR may still not be as good as using the OU/OUosc approach.

The various steps in the pipeline have different computational runtimes. Fitting the OU/OUosc models to the entire dataset (44 cells) take 5 minutes. Generating a synthetic population of 2000 OU non-oscillating cells takes 0.04 seconds, but re-fitting the OU/OUosc models takes 90 minutes. The LSP in contrast is faster, taking 15 seconds to analyse all cells (with detrending). The asymptotic runtime of the Gaussian process method is *O*(*n*^{3}) for *n* number of data points, which is limited by the Cholesky factorisation used to implement the matrix inversion in calculating the log marginal likelihood (Eq (12)). If time is prohibitive then faster approximate algorithms for GP inference can be used based on several approximations, and these would be especially useful for long time series. These methods are implemented in standard GP packages including the GPML package used here, but for our purposes no approximate inference was required.

Note that the detrending parameter has an effect on the overall ranking of cells. The analysis of the data was performed with a detrending parameter of *α*_{SE} = exp(−4.5), which corresponds to a time scale of 6.7 hours. The ranked list of LLRs is shown in S1 Table, with detrending parameters of *α*_{SE} = exp(−4.5), exp(−4) and exp(−5).

## Discussion

Oscillations are important for a wide range of biological processes, but current methods for discovering oscillatory gene expression are best suited for regular oscillators and assume white noise as a null hypothesis of non-oscillatory gene expression. We have introduced a new approach to analysing biological time series data well suited for cases where the underlying dynamics of gene expression is inherently noisy at a single-cell level. By modelling gene expression as a Gaussian process, two competing models of single cell dynamics were proposed. An OU model describes random aperiodic fluctuations, but in contrast to white noise the fluctuations are correlated over time, and this may form a more appropriate model of non-oscillating single cells for statistical testing. The OUosc model describes quasi-periodic oscillations with a gradually drifting phase causing “dephasing” whereby an initially synchronous population of cells lose phase with one another; such peak-to-peak variability has been observed in the *Hes1* system [26]. This general class of quasi-periodic covariance function, which is the product of a decaying and oscillatory function, has been described before [72] but has not to our knowledge been derived from a mechanistic model of a chemical reaction system. Gaussian processes have previously been used to detect periodicity in biological time course data [73] but not in the context of quasi-periodic stochastic signals. Samples from Gaussian processes have also been used to train deep learning methods, but again the samples used were perfectly periodic [74]. We tested the new method against the LSP, and while the the Gaussian process method produced a better FDR, the LSP has a faster computational runtime. The LSP may therefore be useful for preliminary analysis of a large dataset to get rapid results.

An alternative but related method was proposed [57], which attempted to discriminate whether single cell circadian imaging data is best described by self-sustained limit cycle oscillations or by noise-induced oscillations. Whilst both methods assume that the dynamics are noisy, the data fitting procedure used by Westermark et al. (2009) is markedly different, as their model is fitted directly to the empirical autocorrelation of the data. This allows one to describe how well each model fits the data in isolation, but cannot make comparisons between models to ask which is more likely given the data. Here we employed Gaussian processes to find the probability of the data under two competing models (OU and OUosc), and this allowed us to make direct comparisons between the two using a statistical test on the LLR between the two models.

As a practical application of their algorithm, Westermark et al. (2009) fitted circadian time series of cells with gene knock-outs and subsequently compare the parameters of the fitted models. If a genetic perturbation causes a systematic change to the dynamics then mutants may carry signatures in their time series that can be discovered by clustering in parameter space. This clustering of time series with parameters can also be performed with our method, as the period and quality parameters are estimated for each cell. Additionally, our method can also be used to quantify the percentage of cells with oscillatory versus non-oscillatory activity for various mutants. This allows quantitative assessment of the degree of disruption to oscillatory dynamics caused by a genetic mutation, which has a wide range of applications for both circadian and ultradian fields.

Our analysis method could form a starting point from which extensions can be designed to customise it for different experimental purposes. Firstly, our method could be extended to form a statistical test for whether two oscillating time series are coupled or synchronised. For example, dual-colour imaging in a single cell can be used to image the expression of two genes simultaneously. Using the same Gaussian process framework, one model could propose that the oscillations are independent while another could describe them as coupled oscillators (with a possible phase-shift between them). Through calculating an LLR between the competing models, a confidence measure could similarly be defined that the two oscillators are coupled.

Secondly, our method currently assumes that gene expression is either oscillatory or non-oscillatory for the entire duration of the time series. During development, however, stem cells may make dynamic transitions from oscillatory to non-oscillatory gene expression as they differentiate into more specialised cells [15, 27]. A “changepoint” model can be proposed in order to account for this behaviour, where the covariance function can switch between OU and OUosc at a given time point. Gaussian processes have previously been used for changepoint detection (e.g. [75]).

Finally, the method could be adapted to infer spatial organisation and pattern formation. The starting point of the method was a chemical reaction system in a well-mixed compartment, where space was neglected. In spatial systems, the combination of reaction and diffusion can lead to the formation of Turing Patterns [76], such as digit patterning during limb development [77]. The LNA can be applied to derive equations for stochastic Turing patterns [78], where intrinsic noise can induce pattern formation for parameters where the deterministic system reaches a homogeneous state. A similar method to the one presented here could therefore be applied to spatial systems to provide a confidence measure that a system is spatially organised in patterns as opposed to randomly structured [79].

By quantifying the proportion of oscillating cells in a statistically objective manner, we envision that our method will provide a useful tool to single-cell gene expression community and it will be expanded upon for future applications.

## Supporting information

### S1 Fig. Long simulated time series examples from the OUosc covariance functions.

OUosc parameter values are *α* = 0.2, *β* = 0.5, and *σ* = 1.

https://doi.org/10.1371/journal.pcbi.1005479.s001

(EPS)

### S2 Fig. The effect of the detrending length scale on the estimated number of non-oscillating cells (*π*_{0}).

(A, B and C) The estimated number of non-oscillating cells, *π*_{0}, using a detrending length scale of *α*_{SE} = exp(−6), *α*_{SE} = exp(−4) and *α*_{SE} = exp(−2), respectively. The value of *π*_{0} is estimated as the spline fit (red line) at the lowest λ.

https://doi.org/10.1371/journal.pcbi.1005479.s002

(EPS)

### S3 Fig. The false positive rate, statistical power and FDR of 2000 oscillating and non-oscillating cells simulated with the Gillespie algorithm.

(A) with no trend added, trend added at (B) *α*_{SE} = exp(−3.5), (C) *α*_{SE} = exp(−4) and (D) *α*_{SE} = exp(−4.5).

https://doi.org/10.1371/journal.pcbi.1005479.s003

(EPS)

### S4 Fig. Assessing the effect of detrending using a model of p53 dynamics.

(A) Time series example for the p53 model in the oscillatory regime. Model parameters are *β*_{x} = 0.9, *α*_{k} = 1.7, *k* = 0.0001, *β*_{y} = 1.1, *α*_{0} = 0.8, *α*_{y} = 0.8 and Ω = 20. (B) Time series example for the p53 model in the non-oscillatory regime, where *y*(*t*) is removed from the degradation of *x*(*t*). Model parameters are *β*_{x} = 0.9, *α*_{k} = 5.1, *k* = 1, *β*_{y} = 1.1, *α*_{0} = 0.8, *α*_{y} = 0.8. and Ω = 20. (C, D) The false positive rate, statistical power and FDR of 2000 oscillating and non-oscillating cells from the p53 model simulated with the Gillespie algorithm with trend added at (C) *α*_{SE} = exp(−5), (D) *α*_{SE} = exp(−6).

https://doi.org/10.1371/journal.pcbi.1005479.s004

(EPS)

### S5 Fig. Comparison of the LLR distribution generated by the non-oscillating Gillespie simulations with added trend of *α*_{SE} = exp(−4) and the corresponding LLR distribution of the synthetic bootstrap data of the entire data set.

(A) The LLR distribution of the of non-oscillating Gillespie simulations with added trend of *α*_{SE} = exp(−4). (B) The LLR distribution of synthetic bootstrap data of the entire data set. (C) The Q-Q plot of the Gillespie simulated (plus trend) LLR distribution (from A) against the OU bootstrap LLR distribution (B). (D) The estimates of *σ*_{SE} inferred from the Gillespie data with trend added (true value is 1).

https://doi.org/10.1371/journal.pcbi.1005479.s005

(EPS)

### S6 Fig. Comparing the LLR distribution of non-oscillating Gillespie simulations with synthetic bootstrap and chi-squared distributions.

(A) The cumulative density function of the LLR of 1000 non-oscillating Gillespie simulations with added trend of *α*_{SE} = exp(−4) (from S5A Fig) and the corresponding LLR distribution of the synthetic bootstrap data (from S5B Fig). Note that LLR is normalised to the length of the data and multiplied by 100, as described in text. (B) The cumulative density function of the LLR of 1000 non-oscillating Gillespie simulations with added trend of *α*_{SE} = exp(−4) (from S5A Fig) and the chi-squared distribution with one degree of freedom. The LLR is not normalised.

https://doi.org/10.1371/journal.pcbi.1005479.s006

(EPS)

### S7 Fig. Comparison of the LLR distribution generated by the non-oscillating Gillespie simulations with no added trend and the corresponding LLR distribution of the synthetic bootstrap data of the entire data set.

(A) The LLR distribution of the of non-oscillating Gillespie simulations with no added trend. (B) The LLR distribution of synthetic bootstrap data of the entire data set. (C) The Q-Q plot of the Gillespie simulation LLR distribution (from A) against the OU bootstrap LLR distribution (B).

https://doi.org/10.1371/journal.pcbi.1005479.s007

(EPS)

### S8 Fig. Comparison of the LLR distribution generated by an OU Gaussian process (*α* = 1 and *σ* = 1) with no added trend and the corresponding LLR distribution of the synthetic bootstrap data of the entire data set.

(A, B) The LLR distribution of the of *α*_{SE} = exp(−4) for time lengths of 25 and 50 hours, respectively. (C, D) The LLR distribution of synthetic bootstrap data of the entire data set for time lengths of 25 and 50 hours, respectively. (E, F) The Q-Q plots of the OU simulated LLR distribution against the OU bootstrap LLR distribution for time lengths of 25 and 50 hours, respectively. (G, H) The estimates of *σ*_{SE} in from the Gillespie data (true value is 1) for time lengths of 25 and 50 hours, respectively.

https://doi.org/10.1371/journal.pcbi.1005479.s008

(EPS)

### S9 Fig. Illustrative low system size simulation of the *Hes1* oscillator.

(A) Time series example of *Hes1* oscillator at a system size of Ω = 1. (B) Histogram of all data points contained in (A).

https://doi.org/10.1371/journal.pcbi.1005479.s009

(EPS)

### S10 Fig. Assessing the method performance on a bistable network.

(A) Network topology of the bistable network. (B, C) Time series examples of bistable network. Model parameters are *P*_{0} = 12, *n* = 2, *α*_{m} = *α*_{p} = 10, *μ*_{m} = *μ*_{p} = 0.3 and Ω = 1. (D, E) LLR distributions of 2000 cells simulated from bistable network and from OU bootstrap, respectively.

https://doi.org/10.1371/journal.pcbi.1005479.s010

(EPS)

### S11 Fig. Assessing the method performance on time series containing two frequencies.

(A) Time series example of dynamics generated by two oscillatory OUosc covariance functions added together, with a period of 2.5 and 24 hours. Covariance parameters are: *σ*_{1} = 5, *α*_{1} = 0.001, *β*_{1} = 2*π*/24, *σ*_{2} = 1, *α*_{2} = 0.1, *β*_{2} = 2*π*/2.5. (B) The corresponding time series from (A) after detrending with a lengthscale of 7.5 hours.

https://doi.org/10.1371/journal.pcbi.1005479.s011

(EPS)

### S1 Table. Ranked LLR list with different detrending parameters.

https://doi.org/10.1371/journal.pcbi.1005479.s012

(PDF)

## Acknowledgments

We are grateful to Prof. Mike White and Dr. David Spiller at the Systems Microscopy Suite for their invaluable help with imaging.

## Author Contributions

**Conceptualization:**NEP NP MR.**Formal analysis:**NEP.**Investigation:**CM.**Methodology:**NEP MR.**Project administration:**NP MR.**Resources:**NP.**Software:**NEP.**Supervision:**NP MR.**Validation:**CM.**Writing – original draft:**NEP NP MR.**Writing – review & editing:**CM.

## References

- 1. Gwinner E. Circannual rhythms in birds. Current Opinion in Neurobiology. 2003;13(6):770–778. pmid:14662381
- 2. Dupont G, Combettes L, Bird GS, Putney JW. Calcium Oscillations. Cold Spring Harbor Perspectives in Biology. 2011;3(3):a004226–a004226. pmid:21421924
- 3. Goldbeter A, Gérard C, Gonze D, Leloup JC, Dupont G. Systems biology of cellular rhythms. FEBS Letters. 2012;586(18):2955–2965. pmid:22841722
- 4. Nagoshi E, Saini C, Bauer C, Laroche T, Naef F, Schibler U. Circadian gene expression in individual fibroblasts: cell-autonomous and self-sustained oscillators pass time to daughter cells. Cell. 2004;119:693–705. pmid:15550250
- 5. Barkai N, Leibler S. Circadian clocks limited by noise. Nature. 2000;403(6767):267–8. pmid:10659837
- 6. Zhang R, Lahens NF, Ballance HI, Hughes ME, Hogenesch JB. A circadian gene expression atlas in mammals: Implications for biology and medicine. Proceedings of the National Academy of Sciences. 2014;111(45):16219–16224. pmid:25349387
- 7. Ferrell JE, Tsai TYC, Yang Q. Modeling the Cell Cycle: Why Do Certain Circuits Oscillate? Cell. 2011;144(6):874–885. pmid:21414480
- 8. Tyson JJ, Novak B. Temporal Organization of the Cell Cycle. Current Biology. 2008;18(17):R759–R768. pmid:18786381
- 9. Bieler J, Cannavo R, Gustafson K, Gobet C, Gatfield D, Naef F. Robust synchronization of coupled circadian and cell cycle oscillators in single mammalian cells. Molecular systems biology. 2014;10(739):739. pmid:25028488
- 10. Feillet C, Krusche P, Tamanini F, Janssens RC, Downey MJ, Martin P, et al. Phase locking and multiple oscillating attractors for the coupled mammalian clock and cell cycle. Proceedings of the National Academy of Sciences. 2014;111(27):9828–9833. pmid:24958884
- 11. Nelson DE. et al. Oscillations in NF- KB Signaling Control the Dynamics of Gene Expression. Science. 2004;306(5696):704–708. pmid:15499023
- 12. Geva-Zatorsky N, Rosenfeld N, Itzkovitz S, Milo R, Sigal A, Dekel E, et al. Oscillations and variability in the p53 system. Molecular Systems Biology. 2006;2:2006.0033. pmid:16773083
- 13. Rensing L, Meyer-Grahle U, Ruoff P. Biological Timing and the Clock Metaphor: Oscillatory and Hourglass Mechanisms. Chronobiology International. 2001;18(3):329–369. pmid:11475408
- 14. Levine JH, Elowitz MB. Polyphasic feedback enables tunable cellular timers. Current Biology. 2014;24(20):R994–R995. pmid:25442853
- 15. Goodfellow M, Phillips NE, Manning C, Galla T, Papalopulu N. microRNA input into a neural ultradian oscillator controls emergence and timing of alternative cell states. Nature Communications. 2014;5:3399. pmid:24595054
- 16. Oates AC, Morelli LG, Ares S. Patterning embryos with oscillations: structure, function and dynamics of the vertebrate segmentation clock. Development. 2012;139(4):625–639. pmid:22274695
- 17. Sonnen KF, Aulehla A. Dynamic signal encoding—From cells to organisms. Seminars in Cell & Developmental Biology. 2014;34:91–98. pmid:25008461
- 18. Berridge M. The AM and FM of calcium signalling. Nature. 1997;386(3):759–760. pmid:9126727
- 19. Micali G, Aquino G, Richards DM, Endres RG. Accurate Encoding and Decoding by Single Cells: Amplitude Versus Frequency Modulation. PLOS Computational Biology. 2015;11(6):e1004222. pmid:26030820
- 20. Toettcher JE, Weiner OD, Lim WA. Using Optogenetics to Interrogate the Dynamic Control of Signal Transmission by the Ras/Erk Module. Cell. 2013;155(6):1422–1434. pmid:24315106
- 21. Hansen AS, O’Shea EK. Promoter decoding of transcription factor dynamics involves a trade-off between noise and control of gene expression. Molecular systems biology. 2013;9(704):704. pmid:24189399
- 22. Hansen AS, O’Shea EK. Limits on information transduction through amplitude and frequency regulation of transcription factor activity. eLife. 2015;4:e06559. pmid:25985085
- 23. Phillips NE, Manning CS, Pettini T, Biga V, Marinopoulou E, Stanley P, et al. Stochasticity in the miR-9/Hes1 oscillatory network can account for clonal heterogeneity in the timing of differentiation. eLife. 2016;5:1–33. pmid:27700985
- 24. McKane AJ, Newman TJ. Predator-Prey Cycles from Resonant Amplification of Demographic Stochasticity. Physical Review Letters. 2005;94(21):218102. pmid:16090353
- 25. Moore R, Ooi HK, Kang T, Bleris L, Ma L. MiR-192-Mediated Positive Feedback Loop Controls the Robustness of Stress-Induced p53 Oscillations in Breast Cancer Cells. PLOS Computational Biology. 2015;11(12):e1004653. pmid:26642352
- 26. Masamizu Y, Ohtsuka T, Takashima Y, Nagahara H, Takenaka Y, Yoshikawa K, et al. Real-time imaging of the somite segmentation clock: Revelation of unstable oscillators in the individual presomitic mesoderm cells. Proceedings of the National Academy of Sciences. 2006;103(5):1313–1318. pmid:16432209
- 27. Imayoshi I, Isomura A, Harima Y, Kawaguchi K, Kori H, Miyachi H, et al. Oscillatory Control of Factors Determining Multipotency and Fate in Mouse Neural Progenitors. Science. 2013;342(6163):1203–1208. pmid:24179156
- 28. Webb AB, Lengyel IM, Jörg DJ, Valentin G, Jülicher F, Morelli LG, et al. Persistence, period and precision of autonomous cellular oscillators from the zebrafish segmentation clock. eLife. 2016;5:1–17. pmid:26880542
- 29. Suter DM, Molina N, Naef F, Schibler U. Origins and consequences of transcriptional discontinuity. Current Opinion in Cell Biology. 2011;23(6):657–662. pmid:21963300
- 30. Novák B, Tyson JJ. Design principles of biochemical oscillators. Nature Reviews Molecular Cell Biology. 2008;9(12):981–991. pmid:18971947
- 31. Woods ML, Leon M, Perez-Carrasco R, Barnes CP. A Statistical Approach Reveals Designs for the Most Robust Stochastic Gene Oscillators. ACS Synthetic Biology. 2016;5(6):459–470. pmid:26835539
- 32. Munsky B, Neuert G, van Oudenaarden A. Using Gene Expression Noise to Understand Gene Regulation. Science. 2012;336(6078):183–187. pmid:22499939
- 33. Bahar Halpern K, Caspi I, Lemze D, Levy M, Landen S, Elinav E, et al. Nuclear Retention of mRNA in Mammalian Tissues. Cell Reports. 2015;13(12):2653–2662. pmid:26711333
- 34. Bonev B, Stanley P, Papalopulu N. MicroRNA-9 Modulates Hes1 Ultradian Oscillations by Forming a Double-Negative Feedback Loop. Cell Reports. 2012;2(1):10–18. pmid:22840391
- 35. Leng N, Chu LF, Barry C, Li Y, Choi J, Li X, et al. Oscope identifies oscillatory genes in unsynchronized single-cell RNA-seq experiments. Nature Methods. 2015;12(10):947–950. pmid:26301841
- 36. Zielinski T, Moore AM, Troup E, Halliday KJ, Millar AJ. Strengths and Limitations of Period Estimation Methods for Circadian Data. PLoS ONE. 2014;9(5):e96462. pmid:24809473
- 37. Plautz JD, Straume M, Stanewsky R, Jamison CF, Brandes C, Dowse HB, et al. Quantitative Analysis of Drosophila period Gene Transcription in Living Animals. Journal of Biological Rhythms. 1997;12(3):204–217. pmid:9181432
- 38. Costa MJ, Finkenstadt B, Roche V, Levi F, Gould PD, Foreman J, et al. Inference on periodicity of circadian time series. Biostatistics. 2013;14(4):792–806. pmid:23743206
- 39. Wu G, Zhu J, Yu J, Zhou L, Huang JZ, Zhang Z. Evaluation of Five Methods for Genome-Wide Circadian Gene Identification. Journal of Biological Rhythms. 2014;29(4):231–242. pmid:25238853
- 40. Hughes ME, Hogenesch JB, Kornacker K. JTK_CYCLE: An Efficient Nonparametric Algorithm for Detecting Rhythmic Components in Genome-Scale Data Sets. Journal of Biological Rhythms. 2010;25(5):372–380. pmid:20876817
- 41. Thaben PF, Westermark PO. Detecting Rhythms in Time Series with RAIN. Journal of Biological Rhythms. 2014;29(6):391–400. pmid:25326247
- 42. Lomb NR. Least-Squares Frequency Analysis of Unequally Spaced Data. Astrophysics and Space Science. 1976;39(2):447–462.
- 43. Scargle JD. Studies in astronomical time series analysis. II—Statistical aspects of spectral analysis of unevenly spaced data. The Astrophysical Journal. 1982;263(263):835–853.
- 44. Glynn EF, Chen J, Mushegian AR. Detecting periodic patterns in unevenly spaced gene expression time series using Lomb-Scargle periodograms. Bioinformatics. 2006;22(3):310–316. pmid:16303799
- 45. Zhao W, Agyepong K, Serpedin E, Dougherty ER. Detecting Periodic Genes from Irregularly Sampled Gene Expressions: A Comparison Study. EURASIP Journal on Bioinformatics and Systems Biology. 2008;2008:1–8. pmid:18584052
- 46. Schwanhäusser B, Busse D, Li N, Dittmar G, Schuchhardt J, Wolf J, et al. Global quantification of mammalian gene expression control. Nature. 2011;473(7347):337–342. pmid:21593866
- 47. Bronstein L, Zechner C, Koeppl H. Bayesian inference of reaction kinetics from single-cell recordings across a heterogeneous cell population. Methods. 2015;85:22–35. pmid:25986935
- 48. Heron EA, Finkenstadt B, Rand DA. Bayesian inference for dynamic transcriptional regulation; the Hes1 system as a case study. Bioinformatics. 2007;23(19):2596–2603. pmid:17660527
- 49. Hey KL, Momiji H, Featherstone K, Davis JRE, White MRH, Rand DA, et al. A stochastic transcriptional switch model for single cell imaging data. Biostatistics. 2015;16(4):655–669. pmid:25819987
- 50. Zechner C, Unger M, Pelet S, Peter M, Koeppl H. Scalable inference of heterogeneous reaction kinetics from pooled single-cell recordings. Nature Methods. 2014;11(2):197–202. pmid:24412977
- 51. D’Eysmond T, De Simone A, Naef F. Analysis of precision in chemical oscillators: implications for circadian clocks. Physical Biology. 2013;10(5):056005. pmid:24043227
- 52.
Rasmussen E, Williams C. Gaussian Processes for Machine Learning. MIT Press; 2006.
- 53.
Van Kampen NG. Stochastic processes in physics and chemistry. 2nd ed. Amsterdam: Elsevier; 1997.
- 54. Grima R. An effective rate equation approach to reaction kinetics in small volumes: Theory and application to biochemical reactions in nonequilibrium steady-state conditions. The Journal of Chemical Physics. 2010;133(3):035101. pmid:20649359
- 55. Elf J, Ehrenberg M. Fast Evaluation of Fluctuations in Biochemical Networks With the Linear Noise Approximation. Genome Research. 2003;13(11):2475–2484. pmid:14597656
- 56.
Gardiner C. Stochastic methods. 4th ed. Berlin: Springer Verlag; 2009.
- 57. Westermark PO, Welsh DK, Okamura H, Herzel H. Quantification of Circadian Rhythms in Single Cells. PLoS Computational Biology. 2009;5(11):e1000580. pmid:19956762
- 58. Rasmussen C, Hannes N. Gaussian processes for machine learning (GPML) toolbox. Journal of Machine Learning Research. 2010;11:3011–3015.
- 59. Storey JD, Tibshirani R. Statistical significance for genomewide studies. Proceedings of the National Academy of Sciences. 2003;100(16):9440–9445. pmid:12883005
- 60. Goldman N. Statistical Tests of Models of DNA Substitution. Journal of Molecular Evolution. 1993;(36):182–198. pmid:7679448
- 61. Cox DR. Further Results on Tests of Separate Families of Hypotheses. Journal of the Royal Statistical Society: Series B (Methodological). 1962;24(2):406–424.
- 62. Monk NAM. Oscillatory expression of Hes1, p53, and NF-KB driven by transcriptional time delays. Current Biology. 2003;13(16):1409–1413. pmid:12932324
- 63. Galla T. Intrinsic fluctuations in stochastic delay systems: Theoretical description and application to a simple model of gene regulation. Physical Review E. 2009;80(2):021909.
- 64. Brett T, Galla T. Stochastic Processes with Distributed Delays: Chemical Langevin Equation and Linear-Noise Approximation. Physical Review Letters. 2013;110(25):250601. pmid:23829723
- 65. Anderson DF. A modified next reaction method for simulating chemical systems with time dependent propensities and delays. The Journal of Chemical Physics. 2007;127(21):214107. pmid:18067349
- 66. Gillespie DT. Exact Stochastic Simulaiton of Coupled Chemical Reactions. Journal of physical chemistry. 1977;93555(1):2340–2361.
- 67. Morgenstern JP, Land H, Cancer I, Fields I, Wca L. Advanced mammalian gene transfer: high titre retroviral vectors with multiple drug selection markers and a complementary helper-free packaging cell line. Nucleic acids research. 1990;18(12):3587–3596. pmid:2194165
- 68. Broadhurst DI, Kell DB. Statistical strategies for avoiding false discoveries in metabolomics and related experiments. Metabolomics. 2006;2(4):171–196.
- 69. Geva-Zatorsky N, Dekel E, Batchelor E, Lahav G, Alon U. Fourier analysis and systems identification of the p53 feedback loop. PNAS. 2010;107(30):13550–13555. pmid:20622152
- 70. Thomas P, Straube AV, Timmer J, Fleck C, Grima R. Signatures of nonlinearity in single cell noise-induced oscillations. Journal of Theoretical Biology. 2013;335:222–234. pmid:23831270
- 71. Shimojo H, Ohtsuka T, Kageyama R. Oscillations in Notch Signaling Regulate Maintenance of Neural Progenitors. Neuron. 2008;58(1):52–64. pmid:18400163
- 72. Solin A, Särkkä S. Explicit Link Between Periodic Covariance Functions and State Space Models. Proceedings of the Seventeenth International Conference on Artificial Intelligence and Statistics. 2014;33:904–912.
- 73. Durrande N, Hensman J, Rattray M, Lawrence ND. Detecting periodicities with Gaussian processes. PeerJ Computer Science. 2016;2:e50.
- 74. Agostinelli F, Ceglia N, Shahbaba B, Sassone-Corsi P, Baldi P. What time is it? Deep learning approaches for circadian rhythms. Bioinformatics. 2016;32(12):i8–i17. pmid:27307647
- 75.
Saatci Y, Turner RD, Rasmussen CE. Gaussian process change point models. Proceedings of the 27th International Conference on Machine Learning (ICML-10), June 21-24, 2010, Haifa, Israel. 2010; p. 927–934.
- 76. Turing AM. The Chemical Basis of Morphogenesis. Philosophical Transactions of the Royal Society B: Biological Sciences. 1952;237(641):37–72.
- 77. Badugu A, Kraemer C, Germann P, Menshykau D, Iber D. Digit patterning during limb development as a result of the BMP-receptor interaction. Scientific Reports. 2012;2:991. pmid:23251777
- 78. Biancalani T, Fanelli D, Di Patti F. Stochastic Turing patterns in the Brusselator model. Physical Review E. 2010;81(4):046215.
- 79. Solin A, Särkkä S. Infinite-dimensional Bayesian filtering for detection of quasiperiodic phenomena in spatiotemporal data. Physical Review E. 2013;88(5):052909. pmid:24329333