Peer Review History

Original SubmissionMay 3, 2023
Decision Letter - Thomas Serre, Editor, Emma Claire Robinson, Editor

Dear Ms Balzekas,

Thank you very much for submitting your manuscript "Method for cycle detection in sparse, irregularly sampled, long-term neuro-behavioral timeseries: Basis pursuit denoising with polynomial detrending of long-term, inter-ictal epileptiform activity" 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 review the reviewers main points on the robustness of the statistics and clearer reporting of the quantitative comparisons of the BPWP and CWT.

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,

Emma Claire Robinson

Academic Editor

PLOS Computational Biology

Thomas Serre

Section 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:

Reviewer's Responses to Questions

Comments to the Authors:

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

Reviewer #1: This is a nice presentation.

Minor concern:

- recomputing 100 times and taking the 99th percentile does not make much sense to me. I would recommend recomputing 10000 or better yet 100000 times and using the 99th percentile. This leaves much less to randomness and gets a more clear boundary of the distribution. Unless it is the case that only 100 shufflings are sufficient to fully sample the distribution, which I suspect is not the case.

Reviewer #2: The paper introduces a novel method, termed Basis Pursuit-denoising With Polynomial Detrending (BPWP), for reconstructing cycles in sparse interictal spike event data. The authors thoroughly test the proposed approach on data collected from epileptic patients implanted with the Medtornic Summit RC+S. The methodology is evaluated using reconstructions from randomly downsampled data and data with large chunks dropped out to simulate interrupted communication. The authors compare their results with Complex Wavelet Transforms (CWT) of the original data and demonstrate a strong correlation between seizure frequency and reconstructed data using the top modes of their models.

While I do not have the skills to review the mathematics in depth or the motivation behind the algorithm proposed, I think the equations are represented in a way that the results could be accurately reconstructed and used by another research team.

Specific Comments:

1. The authors mention that the BPWP algorithm is computationally intensive and not suitable for real-time analysis on an embedded system. It would be helpful to include additional information on how the computational time scales with the length of data. This would provide insights into the scalability of the approach and potential limitations when dealing with larger datasets.

2. One major concern is that the peaks of BPWP shown in Figure 3F and 4F do not appear to align well with the CWT results, which exhibit only a few modes. While the paper states that the spectrum aligns visually with the main peaks in some examples and the methods section discusses quantitative comparisons between the two, I could not find these more quantitative results.

3. Figure 2 is not referenced in the main text. It is essential to include appropriate references to all figures within the text to guide readers and ensure proper understanding of the paper's content.

4. The mention of "figures 3 and 4" should be capitalized, as they represent figure titles.

5. In the discussion of the limitations of Classical Fourier Transform, the statement that it requires dense and regular sampling should be clarified. While Fast Fourier Transforms may have such requirements, the Fourier Transform itself is not inherently limited to regular sampling. It would be more accurate to state that the computation of sines and cosines for the Fourier Transform can be computationally intensive, making it less suitable for sparse time series.

6. Methods Section: The paper briefly mentions the hardware for extracting the Interictal Epileptiform Discharges (IEDs) but lacks a detailed explanation of the actual algorithm used. It is suggested to include a sentence or two describing the method employed, or at least provide a reference to the specific algorithm along with the hardware information. This addition would enhance the clarity of the methods section.

Overall, the paper presents an interesting methodology for reconstructing cycles in sparse interictal spike event data. The authors conduct thorough testing and analysis, providing evidence of robustness and accuracy. Addressing the specific concerns mentioned above, along with minor points, will significantly improve the clarity and completeness of the paper.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

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: No

Reviewer #2: Yes: Theoden I. Netoff

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, we recommend that you deposit your 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. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

References:

Review your reference list to ensure that it is complete and correct. If you have cited papers that have been retracted, please include the rationale for doing so in the manuscript text, or remove these references and replace them with relevant current references. Any changes to the reference list should be mentioned in the rebuttal letter that accompanies your revised manuscript.

If you need to cite a retracted article, indicate the article’s retracted status in the References list and also include a citation and full reference for the retraction notice.

Revision 1

Attachments
Attachment
Submitted filename: ResponseToReviewers.docx
Decision Letter - Thomas Serre, Editor, Emma Claire Robinson, Editor

Dear Ms Balzekas,

We are pleased to inform you that your manuscript 'Method for cycle detection in sparse, irregularly sampled, long-term neuro-behavioral timeseries: Basis pursuit denoising with polynomial detrending of long-term, inter-ictal epileptiform activity' 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,

Emma Claire Robinson

Academic Editor

PLOS Computational Biology

Thomas Serre

Section Editor

PLOS Computational Biology

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

Reviewer's Responses to Questions

Comments to the Authors:

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

Reviewer #1: While I continue to disagree with the idea that identifying the 99th percentile from 100 bootstrapped samples is appropriate, the authors have addressed my concern by empirically checking larger numbers of repeats. The well informed reader will still see this as a methodological error, but I am ok with publication now.

Reviewer #2: The authors have addressed all my concerns and I have no further concerns.

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

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: No

Reviewer #2: Yes: Theoden Netoff

Formally Accepted
Acceptance Letter - Thomas Serre, Editor, Emma Claire Robinson, Editor

PCOMPBIOL-D-23-00707R1

Method for cycle detection in sparse, irregularly sampled, long-term neuro-behavioral timeseries: Basis pursuit denoising with polynomial detrending of long-term, inter-ictal epileptiform activity

Dear Dr Balzekas,

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,

Anita Estes

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 .