Peer Review History

Original SubmissionMay 14, 2025
Decision Letter - Julio Alejandro Henriques da Costa, Editor

Dear Dr. Thimgan,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

Please submit your revised manuscript by Aug 14 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org . When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.
  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.
  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols . Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols .

We look forward to receiving your revised manuscript.

Kind regards,

Julio Alejandro Henriques Castro da Costa

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

3. In the online submission form, you indicated that your data will be submitted to a repository upon acceptance. We strongly recommend all authors deposit their data before acceptance, as the process can be lengthy and hold up publication timelines. Please note that, though access restrictions are acceptable now, your entire minimal dataset will need to be made freely accessible if your manuscript is accepted for publication. This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If you are unable to adhere to our open data policy, please kindly revise your statement to explain your reasoning and we will seek the editor's input on an exemption.

4. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager.

5. Please remove all personal information, ensure that the data shared are in accordance with participant consent, and re-upload a fully anonymized data set.

Note: spreadsheet columns with personal information must be removed and not hidden as all hidden columns will appear in the published file.

Additional guidance on preparing raw data for publication can be found in our Data Policy (https://journals.plos.org/plosone/s/data-availability#loc-human-research-participant-data-and-other-sensitive-data) and in the following article: http://www.bmj.com/content/340/bmj.c181.long .

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

Reviewer #1: Partly

**********

2. Has the statistical analysis been performed appropriately and rigorously? -->?>

Reviewer #1: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available??>

The PLOS Data policy

Reviewer #1: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English??>

Reviewer #1: Yes

**********

Reviewer #1: The manuscript describes WACSAW, a method that uses segmentation and classification to label high-frequency actimetry data as either sleep or wake. WACSAW relies on Wasserstein distances and k-nearest-neighbor clustering of certain features. The method was tested on two small groups: six people for development and sixteen people as an independent set. According to the manuscript, WACSAW achieved over 95% median accuracy per epoch and was about 10% more accurate than a commercial device (Philips Respironics Actiwatch), especially for quiet wakefulness. This is an important topic since accurate, understandable, and device-independent sleep scoring is lacking in real-world settings. The manuscript is mostly clear and provides good details about the methods.

However, there are some significant points to address:

There is no gold-standard validation. All results are compared with participant activity logs, not with polysomnography (PSG), which is the standard for sleep studies. The authors mention this limitation, but without PSG data, we cannot know how well WACSAW detects short arousals, sleep latency, or distinguishes REM from NREM sleep. At least some PSG data from a subset of subjects should be provided.

External validation would help confirm reliability.

The manuscript does not assess real-time feasibility.

The method for selecting thresholds is not well explained; it needs to be clear that these were not chosen “by eye.”

More thorough statistical comparison with Actiwatch, including proper hypothesis testing, is needed.

**********

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:  Prof. Dr. Murat Ozgoren, MD PhD

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment 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. Registration is free. 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 PLOS at figures@plos.org . Please note that Supporting Information files do not need this step.

Revision 1

We appreciate the editor’s and reviewer’s time and effort in evaluating the manuscript. We have addressed each of the points raised by both. The responses are presented below.

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

We have updated the manuscript to the formatting described in the above documents.

2. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

We have updated our licensing agreement to CC BY-NC-SA for use and adaptation throughout the sleep community.

3. In the online submission form, you indicated that your data will be submitted to a repository upon acceptance. We strongly recommend all authors deposit their data before acceptance, as the process can be lengthy and hold up publication timelines. Please note that, though access restrictions are acceptable now, your entire minimal dataset will need to be made freely accessible if your manuscript is accepted for publication. This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If you are unable to adhere to our open data policy, please kindly revise your statement to explain your reasoning and we will seek the editor's input on an exemption.

The data and code have now been uploaded to the doi: https://doi.org/10.71674/mq6j-z250

4. PLOS requires an ORCID iD for the corresponding author in Editorial Manager on papers submitted after December 6th, 2016. Please ensure that you have an ORCID iD and that it is validated in Editorial Manager. To do this, go to ‘Update my Information’ (in the upper left-hand corner of the main menu), and click on the Fetch/Validate link next to the ORCID field. This will take you to the ORCID site and allow you to create a new iD or authenticate a pre-existing iD in Editorial Manager.

Austin Vandegriffe’s ORCID ID is 0009-0008-8623-6589 and has been entered into the system. I was unable to enter his ORCID ID along with mine.

5. Please remove all personal information, ensure that the data shared are in accordance with participant consent, and re-upload a fully anonymized data set.

Note: spreadsheet columns with personal information must be removed and not hidden as all hidden columns will appear in the published file.

Additional guidance on preparing raw data for publication can be found in our Data Policy (https://journals.plos.org/plosone/s/data-availability#loc-human-research-participant-data-and-other-sensitive-data) and in the following article: http://www.bmj.com/content/340/bmj.c181.long.

The data and code have now been uploaded to the doi: https://doi.org/10.71674/mq6j-z250

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Partly

________________________________________

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: Yes

________________________________________

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data 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 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—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

________________________________________

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

________________________________________

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The manuscript describes WACSAW, a method that uses segmentation and classification to label high-frequency actimetry data as either sleep or wake. WACSAW relies on Wasserstein distances and k-nearest-neighbor clustering of certain features. The method was tested on two small groups: six people for development and sixteen people as an independent set. According to the manuscript, WACSAW achieved over 95% median accuracy per epoch and was about 10% more accurate than a commercial device (Philips Respironics Actiwatch), especially for quiet wakefulness. This is an important topic since accurate, understandable, and device-independent sleep scoring is lacking in real-world settings. The manuscript is mostly clear and provides good details about the methods.

However, there are some significant points to address:

• There is no gold-standard validation. All results are compared with participant activity logs, not with polysomnography (PSG), which is the standard for sleep studies. The authors mention this limitation, but without PSG data, we cannot know how well WACSAW detects short arousals, sleep latency, or distinguishes REM from NREM sleep. At least some PSG data from a subset of subjects should be provided.

We thank the reviewer for their comment. For this study we did not collect PSG data due to space and financial constraints. Therefore, we do not provide these data because they were not collected in this cohort. Based on the results developed and presented in this manuscript, we have initiated collaborations with labs that have access to reliable PSG data collection to answer the questions that the reviewer has posed. Our plan is to continue to address these parameters to develop the most useful tool that can be used by the sleep community.

However, in spite of this shortcoming, we think there is scientific merit in what we have presented. First, we have proposed an algorithm that outperforms two existing methods, albeit this performance edge is based on participant logs. We point out that the Actiwatch 2 has been validated against PSG and is clinically accepted accuracy compared to sleep [1]. Given that our data suggest that WACSAW outperforms this validated technology reinforces that WACSAW is likely a beneficial technology. This demonstrates that the method we use to segment the actigraphy time series as well as the classification strategy that is used have the potential to perform well, possibly with some revisions, when tested on PSG data. Thus, we offer a potential methodology that others with access to PSG data can utilize to build an even more accurate model than the current version of WACSAW. We think that this merits its dissemination.

• External validation would help confirm reliability.

To this point, WACSAW is the only algorithm that has interim metrics that can be used for validation within an individual. Other algorithms do not have this ability. The field can use this to identify which individuals are reliable when compared to external validation. While we agree that external validation can bring additional confirmation of reliability, as pointed out earlier, we stress that our contribution is not merely presenting a more accurate sleep-wake classification algorithm, but also to propose a novel approach to this task that does not depend solely on population metrics that regression based methods do and also provide intermediate metrics that “black-box” type approaches may not provide.

• The manuscript does not assess real-time feasibility.

Real-time implementation is something that is not specifically addressed, though we have given thought to this aspect. At this moment, there is a 15-min future window that is incorporated into WACSAW. This means that there would have to be at least a 15-min delay on any “real-time” analysis, which is not a substantial delay. Moreover, we have been converting code from Python to C++ for faster implementation speeds. Thus, while this is a goal for the future, we don’t believe it is the right time to discuss this aspect quite yet. Instead, we have focused on how WACSAW might be used in “after-the-fact” analysis.

• The method for selecting thresholds is not well explained; it needs to be clear that these were not chosen “by eye.”

We agree with the reviewer that a “by eye” determination of thresholds and hyperparameters is not a reliable methodology to determine these cut-offs. Moreover, what works in one individual may not work in another. Thus, a methodology that adapts to the individual must be developed to remove human intervention as much as possible. To this end, we had included our hyperparameter sweep in the supplementary data to demonstrate which variables and approaches provide the best results in the development cohort. We then go on to show that independent cohorts, that the algorithm was not trained on, show similar results using these empirically derived hyperparameters. These analyses are presented in the hyperparameter section of the methods and the supplemental data. In addition, we do not present our algorithm as the ultimate solution. Our intention is to present our methodology of segmenting and classifying these segments as an alternative approach with potential that other researchers can optimize based on extensive applications to other data sets.

• More thorough statistical comparison with Actiwatch, including proper hypothesis testing, is needed.

We thank the reviewer for this comment. We have now included statistical analyses comparing the results from WACSAW to those of the Actiwatch. The statistical comparison is now included in the text at lines 566-571

“Given that results were derived from the same person at the same time period (watches were worn at the same time), a paired test is warranted. While a paired t-test is a candidate, the small sample size may not be normal. Tests for normality would have very low power because of the small sample size and hence we decided to use the Wilcoxon singed rank test Demsar (2006). WACSAW performed better across sensitivity, specificity, and accuracy all had a value of p<0.0001 across the 15 samples tested.”

that replaces the existing text from that section.

One last note, we realized that one of the tables (Table 2) had a repeated data point for participant 5. The table has been updated to incorporate the appropriate data and the resulting statistics.

Attachments
Attachment
Submitted filename: PLOS One response to reviewers 2025-08-11.docx
Decision Letter - Julio Alejandro Henriques da Costa, Editor

WACSAW: An adaptive, statistical method to classify movement into sleep and wakefulness states

PONE-D-25-25743R1

Dear Dr. Thimgan,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager®  and clicking the ‘Update My Information' link at the top of the page. For questions related to billing, please contact billing support .

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Julio Alejandro Henriques Castro da Costa

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewer #1:

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

Reviewer #1: All comments have been addressed

**********

2. Is the manuscript technically sound, and do the data support the conclusions??>

Reviewer #1: Yes

**********

3. Has the statistical analysis been performed appropriately and rigorously? -->?>

Reviewer #1: I Don't Know

**********

4. Have the authors made all data underlying the findings in their manuscript fully available??>

The PLOS Data policy

Reviewer #1: Yes

**********

5. Is the manuscript presented in an intelligible fashion and written in standard English??>

Reviewer #1: Yes

**********

Reviewer #1: The authors clearly indicated the "limitations" that I formerly raised:

"There is no gold-standard validation. All results are compared with participant activity logs, not with polysomnography (PSG), which is the standard for sleep studies. The authors mention this limitation, but without PSG data, we cannot know how well WACSAW detects short arousals, sleep latency, or distinguishes REM from NREM sleep. At least some PSG data from a subset of subjects should be provided.

External validation would help confirm reliability.

The manuscript does not assess real-time feasibility."

These points have been presented in the new manuscript

**********

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:  Prof. Dr. Murat Ozgoren, MD PhD

**********

Formally Accepted
Acceptance Letter - Julio Alejandro Henriques da Costa, Editor

PONE-D-25-25743R1

PLOS ONE

Dear Dr. Thimgan,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

You will receive an invoice from PLOS for your publication fee after your manuscript has reached the completed accept phase. If you receive an email requesting payment before acceptance or for any other service, this may be a phishing scheme. Learn how to identify phishing emails and protect your accounts at https://explore.plos.org/phishing.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Julio Alejandro Henriques Castro da Costa

Academic Editor

PLOS ONE

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 .