Peer Review History

Original SubmissionJune 30, 2020
Decision Letter - Saad Jbabdi, Editor, Kim T. Blackwell, Editor

Dear Dr. Goodhill,

Thank you very much for submitting your manuscript "Model-based decoupling of evoked and spontaneous neural activity in calcium imaging data" for consideration at PLOS Computational Biology. As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. The reviewers appreciated the attention to an important topic. Based on the reviews, we are likely to accept this manuscript for publication, providing that you modify the manuscript according to the review recommendations.

Please prepare and submit your revised manuscript within 30 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. 

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to all review comments, and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Thank you again for your submission to our journal. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Saad Jbabdi

Associate Editor

PLOS Computational Biology

Kim Blackwell

Deputy Editor

PLOS Computational Biology

***********************

A link appears below if there are any accompanying review attachments. If you believe any reviews to be missing, please contact ploscompbiol@plos.org immediately:

[LINK]

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The authors present a useful and timely method for distinguishing spontaneous and evoked activity in calcium imaging data. This enables more accurately assessing spontaneous and evoked activity, which will always occur simultaneously in any in vivo recording setting. The authors should be congratulated in particular for the clarity of presentation and writing. I have some minor questions and points that would be helpful to clear up prior to publication but generally find the publication is acceptable for publication.

MINOR ISSUES / QUESTIONS

What causes neurons to have a poor model fit, eg the neurons at the left side of the red distribution in Fig 3B? I am curious if the authors have inspected these neurons to see if they might be poorly sampled in the imaging data, improperly segmented, and/or otherwise ‘bad’ in a way that might explain the poor performance of the model. My goal by asking this is to improve the work yet further by attempting to understand why it does not work when the model fit is poor. The authors mention in a few places that the neurons that are not fit well may be generally quiescent, unresponsive to sensory stimuli, and/or driven by some spontaneous activity not shared with other neurons recorded. But perhaps the issue is not the model but the data?

Is it possible to show the raw traces for a neuron with an inferred tuning that is very different from the one obtained by averaging as showing in H? The raw traces in 3A are very useful for understanding how the CILVA approach helps. And the tuning curves shown in H show some substantial differences. Is it possible some of the neurons in 3A happen to be some of the neurons in 3H already? I am curious for example about the neuron in the second from the bottom row and second from the last column in 3H — this is one place where the approach seems to massively beat the standard approach!

Line 159-161: “we encouraged sparsity by placing a non-negative prior on the latent factors with high density near zero, and used a simple model selection procedure to estimate the sparsity penalty” I’m curious why the authors did not use lasso or ridge to enforce sparsity. This also effects the model fitting possibilities (from Line 533).

MINOR TYPOGRAPHICAL/CLARITY ISSUES

Fig 1B bottom left stimulus colour code seems redundant as it provides no extra information given the order of stimuli can be inferred from the sequence of coloured dashed vertical lines.

Lambda is referred to as “rate of calcium influx” in line 143, “underlying intensity of neural activity” in Fig 2A legend, and finally “Intensity functions” in Fig 2B legend. It is bold in Fig 2 legend but not Fig 2 itself or line 143. Please describe and use consistently.

Line 238 “well-describes” odd phrasing

“Table S3: Raw data points for the histograms in Figure 5.” Does not appear to refer to Figure 5

It seems odds to present the grand average data in S10 rather than a main figure? My opinion is not strong but if other reviewers make a similar remark perhaps moving it to a main figure would be appropriate.

Reviewer #2: The authors developed a method to fit simultaneously the evoked and “spontaneous” components of temporal fluctuations in population activity. As the authors acknowledge, the particular model used is related to previous “factor analysis-type” models, and/but includes a positivity constraint on the factors and no temporal structure. Using this model, the authors describe the dynamics of population activity in the optic tectum of zebrafish and in mouse visual cortex.

The paper is clear, well written and very polished. Steps in the algorithm are clearly explained and so are the results of the analyses. The fact that the code is available and that the method is relatively straightforward might actually motivate researchers to try using the model, which would be a big plus for the authors. I don’t have any major issues with the manuscript.

Comments.

1) Dynamics of the latent factors. In the traces in Fig3A it looks like several spontaneous “bumps” are evoked by the stimulus. As far as I can tell, this tendency is not quantified except for the size of the orange ‘covariance’ bars in Fig4A. Somehow looking at 4A it seems like the covariance is marginal, but then looking at 3A it’s easy to see ‘by eye’ the evoked factor transients. It should be quite straightforward for the authors to quantify these evoked factor transients.

More generally, what are the implications for the model of a situation where spontaneous events are ‘triggered’ by the stimulus? In the cortex, phenomena like this have been well characterised in the dynamics of e.g., up-states (Luczak & Harris, Hasenstaub & McCormick, etc). Up-states can and do occur spontaneously, but they are easily evoked. When the interval of stimulus presentation is regular (as in the current study?), the timing of spontaneous population events has even been shown to track (not presented) stimuli! (Li, Jingcheng, et al. "Primary auditory cortex is required for anticipatory motor response." Cerebral Cortex 27.6 (2017): 3254-3271).

Conceivably, every (or a large majority of) spike comes from these population events and the stimulus simply triggers them sometimes. Is this scenario describable by the model? Somehow the additive nature of the interaction between stimulus and factors does not lend itself easily to describe this scenario in my mind, but maybe I’m missing something? Could the authors elaborate on this point?

2) It would be useful to mention explicitly the part of the variability which is private when describing the model. Although private variability is mentioned several times (pages 12, 20,21…) I could not find a mention to it in the description of the formulas (only for simulated data)

3) Positivity constraints. Given that the authors are modelling DeltaF/F, which can be negative, perhaps a comment can e made on the virtues of the positivity constraint on the factors?

4) Autocorrelation of the factors. I could not understand the argument given for justifying the lack of autocorrelation of the factors. While certainly simplicity is an argument (and a good one if the model generally works well), the authors rather point to a possible ambiguity between the time-scale of the autocorrelation of the factors and that of the fluorescence due to the Ca-dynamics. I must have missed something, because the Ca-dynamics is already explicitly built into the model through the kernel k. Looking at the autocorrelations of the factors in, e.g, Fig3G, it seems like sometimes there are slow dynamics (for this fish in factor 3). This is not to say that assuming no autocorrelation is a negative feature per se. I just didn’t understand if the motivation was simplicity or something else.

5) Fig3G and equivalent panels in other figures. The y-lim in these plots (set to include the peak at zero) is unfortunate, as it prevents the reader from assessing the temporal structure of the signals. In some cases like factor 2 if FigS9H and others, there even seems to be some oscillatory structure (what is the period of this oscillation? How does it compare to the inter-stimulus interval?)

6) Topography of the dynamics. The results in Fig4G-I are nice, but I didn’t understand the sorting of neurons in 4A. The legend says neurons are sorted by A-P coordinate, but 4A is not nearly as ordered and structured as 4G. Given that the shape of the analysed activity is effectively 1D (although slightly curved), can neurons in 4A be sorted according to this 1D axis? If so, we would see the factor loadings in 4A bottom nicely ordered.

7) Fig4C. Again, this format seems not ideal for the info that this plot is supposed to convey (maybe a scatter plot like 4C?). Looking at 4C, the difference in covariance looks marginal. It seems to me like it should be possible to test the hypothesis that the covariance in the sample is significantly larger than that of a null model for each neutron.

8) Fig 4F. I think a violin plot would make this figure nicer and more transparent.

**********

Have all data underlying the figures and results presented in the manuscript been provided?

Large-scale datasets should be made available via a public repository as described in the PLOS Computational Biology data availability policy, and numerical data that underlies graphs or summary statistics should be provided in spreadsheet form as supporting information.

Reviewer #1: Yes

Reviewer #2: None

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: Yes: Adam M. Packer

Reviewer #2: No

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, PLOS recommends that you deposit laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see http://journals.plos.org/ploscompbiol/s/submission-guidelines#loc-materials-and-methods

Revision 1

Attachments
Attachment
Submitted filename: response.pdf
Decision Letter - Saad Jbabdi, Editor, Kim T. Blackwell, Editor

Dear Dr. Goodhill,

We are pleased to inform you that your manuscript 'Model-based decoupling of evoked and spontaneous neural activity in calcium imaging data' has been provisionally accepted for publication in PLOS Computational Biology.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Saad Jbabdi

Associate Editor

PLOS Computational Biology

Kim Blackwell

Deputy Editor

PLOS Computational Biology

***********************************************************

Formally Accepted
Acceptance Letter - Saad Jbabdi, Editor, Kim T. Blackwell, Editor

PCOMPBIOL-D-20-01134R1

Model-based decoupling of evoked and spontaneous neural activity in calcium imaging data

Dear Dr Goodhill,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Laura Mallard

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .