Sub-minute prediction of brain temperature based on sleep–wake state in the mouse

  1. Yaniv Sela  Is a corresponding author
  2. Marieke MB Hoekstra
  3. Paul Franken  Is a corresponding author
  1. Sagol School of Neuroscience, Tel Aviv University, Israel
  2. Center for Integrative Genomics, University of Lausanne, Switzerland
4 figures, 1 table and 10 additional files

Figures

Figure 1 with 1 supplement
Results of Model 0 with constant asymptotes.

(A) A representative example of a 96-hr recording in one mouse of brain temperature (blue) and simulated data (orange). Green lines represent the model's lower and upper asymptotes. The 4-s hypnogram of wake (W), non–rapid-eye-movement sleep (N), and rapid-eye-movement sleep (R) appears above the lower asymptote. White/gray backgrounds represent 12 hr light–dark periods, respectively, and the salmon background starting at 48 hr indicates the 6 hr of sleep deprivation. Red arrows point to examples of over/under estimation of the model in the light–dark periods, respectively. (B) Hourly differences (mean ± STD) between simulation output and data. Red marks below the graph represent significant differences, tested by paired t-tests and false discovery rates corrected at p<0.05. Hourly values are plotted at the interval midpoint. White/gray/salmon backgrounds as in (A).

Figure 1—figure supplement 1
Residuals of the model in which both asymptotes were modulated according to a circadian rhythm.

Residuals (as in Figure 1B) of the basic model after adding a circadian element by modulating both asymptotes according to a sine-wave function with amplitude and phase as free parameters (the period was set to 24 hr). Note the ~0.5°C underestimation during sleep deprivation (SD). Median residual RMS over all mice and hours amounted to 0.32°C. White/gray/salmon backgrounds in both panels indicate light/dark/SD periods, respectively. Dashed lines mark the mean temperature residuals of Model 0, from Figure 1B.

Results of models 1 and 2 with modulation of asymptotes.

(A). Simulation fit (orange) after incorporating prior wake prevalence (Model 1). Note that both asymptotes (green) are modulated in parallel, recorded data (blue line) are of the same animal as in Figure 1, and previous over- and under-estimations marked by red arrows are diminished. White/gray/salmon backgrounds indicate light/dark/SD periods, respectively. (B,C). Residuals of models 1 and 2, as in Figure 1B, after the addition of prior wake prevalence (B, Model 1, M1) and with an additional circadian rhythm modulation of both asymptotes (C, Model 2, M2). Dashed lines mark the mean temperature residuals of Model 0, from Figure 1B. Red marks indicate significant deviations from zero. Note the reduction in the number of red marks from Figure 1B, to Figure 2B to Figure 2C.

Figure 3 with 1 supplement
Results of Model 2 for all individual mice.

The graphs show the fit (orange) of the final model to the data (blue) of all 11 animals (ordered as in Table 1). Example data in Figures 1A and 2A correspond to mouse number 617 in the 8th row. White/gray/salmon backgrounds indicate light/dark/sleep deprivation (SD) periods, respectively.

Figure 3—figure supplement 1
Proportional Venn diagram of the variance explained by each of the three factors in Model 2.

Yellow (41.98%), blue (12.34%), and red (1.75%) areas correspond to the unique explained variance of the sleep–wake state, prior wake-prevalence, and circadian factors, respectively. The overlapping areas in orange (4.19%), green (27.35%), and purple (3.39%) indicate the shared explained variance for any two factors. Note that the explained variance shared by all three factors was zero.

Figure 4 with 2 supplements
Model fit to a novel dataset.

(A) Representative example of the Model 2 fit (orange) to novel raw data (blue) not used for optimization, using the median of the optimized parameters from the original dataset (Table 1). (B) Temperature residuals of Model 2 (mean ± STD) across all animals in the novel dataset. Notice the small number of red markers, indicating significant deviations from zero. White/gray/salmon backgrounds in both panels indicate light/dark/sleep deprivation periods, respectively.

Figure 4—figure supplement 1
Correlation between initial temperature to wake and rapid-eye-movement (REM) sleep prevalence.

The average of the normalized temperatures (see 'Materials and methods') in the first 7 min of the recording (i.e., light onset of baseline 1) is plotted against the fraction of occurrence of wake and REM sleep in the same time window for the 11 individual recordings from the main experiment. The high correlation justifies predicting the temperature values of further sessions from sleep–wake state sequences alone.

Figure 4—figure supplement 2
Results of Model 2 for each mouse of the independent cohort.

The graphs show the fit (orange) according to Model 2, for an additional set of five animals (data in blue), based on the median parameters of our main group of mice (Table 1). Mouse number 810 in the fourth row appears also in Figure 4A. White/gray/salmon backgrounds in both panels indicate light/dark/sleep deprivation (SD) periods, respectively.

Tables

Table 1
Model 2 parameters for each animal.

Optimized values for each of the model parameters, and additional three descriptive variables: the difference between the upper and lower asymptotes (fourth column), the root mean squared error, and the correlation coefficient (two last columns). Columns 7–9 list the parameters of the prior wake-prevalence window: ‘Size’ refers to the window size, ‘Shift’ to the interval between the end of the window and the time point being evaluated, and ‘Scale’ to the conversion from % waking within the window to its temperature modulation of the asymptotes. Column 11 lists the phase of the 24-hr sinewave modulating the asymptotes (starting at zero) relative to ZT0. The last row summarizes the median value for each parameter, except for the correlation coefficient which is averaged after a Fisher transformation. Asterisks indicate KO mice.

AnimalAsymptotes (°C)Time constants (hr)Prior wake prevalenceCircadianRMS error (°C)Correlation
LowerUpperDifferenceWake/REMNREMSize (hr)Shift (hr)Scale (°C)Amplitude (°C)Phase (hr)
60334.2635.821.560.210.064.75−1.901.020.130.860.280.94
60634.7436.591.850.230.102.75−1.301.010.25−0.710.260.95
60832.2833.771.490.220.082.75−1.400.920.25−0.410.230.95
60934.0436.282.240.220.111.75−1.100.680.19−2.660.250.97
61232.6034.451.850.230.111.50−0.900.730.18−0.630.240.97
61334.1536.071.920.110.173.25−1.001.120.26−0.830.300.93
616*34.0136.112.100.170.145.50−2.701.050.119.590.260.97
617*34.5436.301.760.160.163.25−1.001.010.17−1.170.230.96
619*34.5336.401.870.210.113.00−1.600.620.06−1.070.250.96
620*36.8938.211.320.120.052.75−1.401.160.221.290.290.95
62236.1438.111.970.200.094.75−2.001.020.19−0.410.310.95
Median34.2636.281.850.210.113.00−1.401.010.19−0.630.260.96

Additional files

Source code 1

A Matlab code for the brain temperature simulation based on sleep scoring data.

https://cdn.elifesciences.org/articles/62073/elife-62073-code1-v1.zip
Source code 2

A Matlab code for optimization of the parameters needed for simulation of brain temperature, by minimizing the mean squared error of the difference between the model and the temperature recorded.

https://cdn.elifesciences.org/articles/62073/elife-62073-code2-v1.zip
Source code 3

A Matlab code of an example for simulating brain temperature using Source Code File 1.

The code uses the data example in Source Code File 5.

https://cdn.elifesciences.org/articles/62073/elife-62073-code3-v1.zip
Source code 4

A Matlab code of an example for parameters optimization using Source Code File 2.

The code uses the data example in Source Code File 5.

https://cdn.elifesciences.org/articles/62073/elife-62073-code4-v1.zip
Source code 5

A Matlab file that includes example data (recorded temperature and respective sleep scoring) from one mouse, for running the example code files (Source Code Files 3 and 4).

https://cdn.elifesciences.org/articles/62073/elife-62073-code5-v1.zip
Supplementary file 1

Model 0 parameters for each animal.

A table showing the optimized values for each of the four parameters of Model 0 without modulation of asymptotes, and the three additional descriptive variables, as in Table 1.

https://cdn.elifesciences.org/articles/62073/elife-62073-supp1-v1.docx
Supplementary file 2

Model 1 parameters for each animal.

A table showing the optimized values for each of the parameters of the model after introducing a modulation of both asymptotes according to the prior wake-prevalence in the window preceding the assessment of temperature. Further details as in Table 1.

https://cdn.elifesciences.org/articles/62073/elife-62073-supp2-v1.docx
Supplementary file 3

Performance of Model 2 for additional sleep deprivation (SD) experiments of the same animals.

The table shows the Pearson’s correlation coefficient (r) and root mean squared (RMS) error for five animals from the main experiment, after undergoing additional SD of shorter duration. Due to technical problems, the 2 hr SD experiment is missing for mouse number 622. See Table 1 for the individual optimized parameters used (asterisks denote KO mice).

https://cdn.elifesciences.org/articles/62073/elife-62073-supp3-v1.docx
Supplementary file 4

An Excel file documenting the recorded and simulated data for all 11 animals of the main experiment, in 4 s resolution.

The data include the sleep scoring, the recorded temperature, and the simulated temperature for each of the three models.

https://cdn.elifesciences.org/articles/62073/elife-62073-supp4-v1.xlsx
Transparent reporting form
https://cdn.elifesciences.org/articles/62073/elife-62073-transrepform-v1.pdf

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Yaniv Sela
  2. Marieke MB Hoekstra
  3. Paul Franken
(2021)
Sub-minute prediction of brain temperature based on sleep–wake state in the mouse
eLife 10:e62073.
https://doi.org/10.7554/eLife.62073