Letter From The Editor

C. Rutherford, A. Couves, N. Henderson, S. Kamya, K. Ong, C. Bisset, M. Vella, A. Renwick
{"title":"Letter From The Editor","authors":"C. Rutherford, A. Couves, N. Henderson, S. Kamya, K. Ong, C. Bisset, M. Vella, A. Renwick","doi":"10.1097/SLA.0000000000002052","DOIUrl":null,"url":null,"abstract":"Our publication in the Journal of Applied Biomechanics examining various algorithms to determine intramuscular electromyography (EMG) onset1 has received considerable interest. We have similarly published work looking at various algorithms for surface EMG onset2 and posted all of our raw EMG data in a public repository (https://github.com/TenanATC/EMG). This “Open Science” approach has led to a number of thoughtful discussions with fellow researchers on the detection of EMG onset. The algorithm type that performed best in both our surface and intramuscular EMG studies was Bayesian changepoint (bcp) analysis. Based on constructive conversations with researchers using our data and the algorithms assessed in our manuscripts, we would like to address a concern that has arisen with reproducing our bcp analysis. Specifically, our manuscripts utilized the version 4.0.0 bcp package in the R programming language. At the time of this letter, the bcp package has been updated to 4.0.3 by the maintainer, Dr. Xiaofei Wang. In version 4.0.0, our analyses continually demonstrated that, for detecting a single EMG onset, the “parameter of the prior on changepoint probabilities” or p0 argument should be “0” for optimal detection.1,2 Recent updates to the bcp package by Dr. Wang, described as “streamlining the C code” (personal communication), have resulted in the bcp algorithm returning a vector of zeros for the posterior probability of a changepoint when the argument p0 is set to “0.” In conversation with Dr. Wang, we agree that the current version of bcp (4.0.3) is likely more conceptually correct than the version used in our manuscripts (4.0.0). Indeed, we found it a bit peculiar that the bcp “p0 = 0” argument continually rendered the best EMG onset detection, but the purpose of our manuscripts was to examine the various algorithms in their current form for onset detection. We did not aim to critique or investigate the various algorithms themselves. When using version 4.0.0 of the bcp package for R, our finding that the “p0 = 0” argument produces the best onset detection for a single EMG onset is correct; an extremely small p0 does make conceptual sense for detecting a single EMG onset, in which one might expect an abrupt change in the time series (ie, rapid muscle contraction as opposed to a slow ramping contraction). The question remains, “How should we consider using bcp analysis for EMG onset?” First, we would like to reiterate what we stated in our original manuscript: “While all top Bayesian algorithms in the present study used p0 = 0, it should not be expected that this setting is appropriate in all cases.” Second, pilot work by our group suggests that using the current bcp package (version 4.0.3) with the p0 argument set to an extremely small value (ie, <.0001) renders onsets similar to our manuscripts. Third, the R programming language is capable of loading previous versions of R packages using either the devtools package (ie, “install_version”) or directly installing an older package from the source (eg, directly from a website or from a local version). Therefore, there are a number of approaches to take when assessing the use of bcp algorithms to detect EMG onset, but we strongly encourage researchers to thoughtfully consider what algorithm settings are appropriate for their given data set and not blindly apply the results from our studies. Ultimately, we believe this present scenario to be a demonstration of the benefits of Open Science practices. Without posting our raw data and using open source software packages, these potential inconsistencies would not have been realized. We hope that this letter assists researchers in their pursuit of the best analytical approach for their data.","PeriodicalId":16054,"journal":{"name":"Journal of Herpetological Medicine and Surgery","volume":"119 1","pages":"5 - 5"},"PeriodicalIF":0.0000,"publicationDate":"2022-03-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Herpetological Medicine and Surgery","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1097/SLA.0000000000002052","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Our publication in the Journal of Applied Biomechanics examining various algorithms to determine intramuscular electromyography (EMG) onset1 has received considerable interest. We have similarly published work looking at various algorithms for surface EMG onset2 and posted all of our raw EMG data in a public repository (https://github.com/TenanATC/EMG). This “Open Science” approach has led to a number of thoughtful discussions with fellow researchers on the detection of EMG onset. The algorithm type that performed best in both our surface and intramuscular EMG studies was Bayesian changepoint (bcp) analysis. Based on constructive conversations with researchers using our data and the algorithms assessed in our manuscripts, we would like to address a concern that has arisen with reproducing our bcp analysis. Specifically, our manuscripts utilized the version 4.0.0 bcp package in the R programming language. At the time of this letter, the bcp package has been updated to 4.0.3 by the maintainer, Dr. Xiaofei Wang. In version 4.0.0, our analyses continually demonstrated that, for detecting a single EMG onset, the “parameter of the prior on changepoint probabilities” or p0 argument should be “0” for optimal detection.1,2 Recent updates to the bcp package by Dr. Wang, described as “streamlining the C code” (personal communication), have resulted in the bcp algorithm returning a vector of zeros for the posterior probability of a changepoint when the argument p0 is set to “0.” In conversation with Dr. Wang, we agree that the current version of bcp (4.0.3) is likely more conceptually correct than the version used in our manuscripts (4.0.0). Indeed, we found it a bit peculiar that the bcp “p0 = 0” argument continually rendered the best EMG onset detection, but the purpose of our manuscripts was to examine the various algorithms in their current form for onset detection. We did not aim to critique or investigate the various algorithms themselves. When using version 4.0.0 of the bcp package for R, our finding that the “p0 = 0” argument produces the best onset detection for a single EMG onset is correct; an extremely small p0 does make conceptual sense for detecting a single EMG onset, in which one might expect an abrupt change in the time series (ie, rapid muscle contraction as opposed to a slow ramping contraction). The question remains, “How should we consider using bcp analysis for EMG onset?” First, we would like to reiterate what we stated in our original manuscript: “While all top Bayesian algorithms in the present study used p0 = 0, it should not be expected that this setting is appropriate in all cases.” Second, pilot work by our group suggests that using the current bcp package (version 4.0.3) with the p0 argument set to an extremely small value (ie, <.0001) renders onsets similar to our manuscripts. Third, the R programming language is capable of loading previous versions of R packages using either the devtools package (ie, “install_version”) or directly installing an older package from the source (eg, directly from a website or from a local version). Therefore, there are a number of approaches to take when assessing the use of bcp algorithms to detect EMG onset, but we strongly encourage researchers to thoughtfully consider what algorithm settings are appropriate for their given data set and not blindly apply the results from our studies. Ultimately, we believe this present scenario to be a demonstration of the benefits of Open Science practices. Without posting our raw data and using open source software packages, these potential inconsistencies would not have been realized. We hope that this letter assists researchers in their pursuit of the best analytical approach for their data.
编辑来信
我们在《应用生物力学杂志》上发表的文章,研究了各种确定肌内肌电图(EMG)发病的算法,引起了相当大的兴趣。我们也发表了类似的研究表面肌电信号发作的各种算法的工作2,并将我们所有的原始肌电信号数据发布在一个公共存储库中(https://github.com/TenanATC/EMG)。这种“开放科学”的方法已经导致了与同事们关于肌电图发病检测的许多深思熟虑的讨论。在我们的表面肌电图和肌内肌电图研究中表现最好的算法类型是贝叶斯变化点(bcp)分析。基于与研究人员使用我们的数据和我们手稿中评估的算法进行的建设性对话,我们想解决在复制我们的bcp分析时出现的一个问题。具体来说,我们的手稿使用了R编程语言的4.0.0 bcp包。在写这封信的时候,bcp包已经被维护者Dr. Xiaofei Wang更新到4.0.3。在4.0.0版本中,我们的分析不断证明,对于检测单个肌电图发作,“变化点概率的先验参数”或p0参数应该为“0”以进行最佳检测。1,2王博士最近对bcp包的更新,被描述为“简化C代码”(个人通信),导致bcp算法在参数p0被设置为“0”时返回一个零的后验概率向量。在与王博士的交谈中,我们同意当前版本的bcp(4.0.3)可能比我们手稿中使用的版本(4.0.0)在概念上更正确。事实上,我们发现有点奇怪的是,bcp“p0 = 0”的论点不断呈现出最好的肌电图开始检测,但我们的手稿的目的是研究各种算法在其当前形式的开始检测。我们的目的不是批评或研究各种算法本身。当使用版本4.0.0的bcp包R时,我们发现“p0 = 0”参数对单个肌电开始产生最佳的开始检测是正确的;极小的p0对于检测单个肌电图发作在概念上是有意义的,在这种情况下,人们可能会期望时间序列的突然变化(即,快速肌肉收缩而不是缓慢的斜坡收缩)。问题仍然存在,“我们应该如何考虑在肌电图发病时使用bcp分析?”首先,我们想重申我们在原稿中所说的:“虽然本研究中所有顶级贝叶斯算法都使用p0 = 0,但不应期望该设置适用于所有情况。”其次,我们小组的试点工作表明,使用当前的bcp包(版本4.0.3),将p0参数设置为极小的值(即< 0.0001),可以呈现与我们的手稿相似的发作。第三,R编程语言能够使用devtools包(即“install_version”)或直接从源代码(例如,直接从网站或本地版本)安装旧版本的R包来加载以前版本的R包。因此,在评估使用bcp算法来检测肌电发作时,有许多方法可以采用,但我们强烈建议研究人员仔细考虑哪种算法设置适合他们给定的数据集,而不是盲目地应用我们的研究结果。最终,我们相信目前的情况是开放科学实践的好处的证明。如果没有发布我们的原始数据和使用开源软件包,这些潜在的不一致就不会被意识到。我们希望这封信能帮助研究人员对他们的数据进行最佳的分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信