<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.10569.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Software Tool Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                    <subj-group>
                        <subject>Neuroimaging</subject>
                    </subj-group>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>AR2, a novel automatic artifact reduction software method for ictal EEG interpretation: Validation and comparison of performance with commercially available software</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 2 approved with reservations]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Weiss</surname>
                        <given-names>Shennan Aibel</given-names>
                    </name>
                    <uri content-type="orcid">https://orcid.org/0000-0003-0825-8439</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Asadi-Pooya</surname>
                        <given-names>Ali A</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Vangala</surname>
                        <given-names>Sitaram</given-names>
                    </name>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Moy</surname>
                        <given-names>Stephanie</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Wyeth</surname>
                        <given-names>Dale H</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Orosz</surname>
                        <given-names>Iren</given-names>
                    </name>
                    <xref ref-type="aff" rid="a4">4</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Gibbs</surname>
                        <given-names>Michael</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Schrader</surname>
                        <given-names>Lara</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Lerner</surname>
                        <given-names>Jason</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Cheng</surname>
                        <given-names>Christopher K</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Chang</surname>
                        <given-names>Edward</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Rajaraman</surname>
                        <given-names>Rajsekar</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Keselman</surname>
                        <given-names>Inna</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Churchman</surname>
                        <given-names>Perdro</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Bower-Baca</surname>
                        <given-names>Christine</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Numis</surname>
                        <given-names>Adam L</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Ho</surname>
                        <given-names>Michael G</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Rao</surname>
                        <given-names>Lekha</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Bhat</surname>
                        <given-names>Annapoorna</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Suski</surname>
                        <given-names>Joanna</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Asadollahi</surname>
                        <given-names>Marjan</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Ambrose</surname>
                        <given-names>Timothy</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Fernandez</surname>
                        <given-names>Andres</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Nei</surname>
                        <given-names>Maromi</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Skidmore</surname>
                        <given-names>Christopher</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Mintzer</surname>
                        <given-names>Scott</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Eliashiv</surname>
                        <given-names>Dawn S</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Mathern</surname>
                        <given-names>Gary W</given-names>
                    </name>
                    <xref ref-type="aff" rid="a5">5</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Nuwer</surname>
                        <given-names>Marc R</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Sperling</surname>
                        <given-names>Michael</given-names>
                    </name>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Engel Jr</surname>
                        <given-names>Jerome</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Stern</surname>
                        <given-names>John M</given-names>
                    </name>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Department of Neurology, David Geffen School of Medicine, University of California Los Angeles, Los Angeles, USA</aff>
                <aff id="a2">
                    <label>2</label>Department of Neurology, Jefferson Comprehensive Epilepsy Center, Thomas Jefferson University, Philadelphia, USA</aff>
                <aff id="a3">
                    <label>3</label>Department of Medicine, Statistics Core, University of California Los Angeles, Los Angeles, USA</aff>
                <aff id="a4">
                    <label>4</label>Department of Radiology, David Geffen School of Medicine, University of California Los Angeles, Los Angeles, USA</aff>
                <aff id="a5">
                    <label>5</label>Departments of Neurosurgery, Psychiatry, and Biobehavioral Medicine, David Geffen School of Medicine, University of California Los Angeles, os Angeles, USA</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:shennan.weiss@jefferson.edu">shennan.weiss@jefferson.edu</email>
                </corresp>
                <fn fn-type="con">
                    <p>S.A.W designed the study, analyzed the data, drafted and revised the manuscript, A.A.P analyzed the data, and revised the manuscript, S.V analyzed the data, and revised the manuscript, S.M revised the manuscript, D.H.W revised the manuscript, I.O analyzed the data, and revised the manuscript, M.G analyzed the data, and revised the manuscript, L.S analyzed the data, and revised the manuscript, J.L analyzed the data, and revised the manuscript,  C.K.C analyzed the data, and revised the manuscript, E.C analyzed the data, and revised the manuscript, R.R analyzed the data, and revised the manuscript, I.K analyzed the data, and revised the manuscript, P.C analyzed the data, and revised the manuscript, C.B.B analyzed the data, and revised the manuscript, A.L.N analyzed the data, and revised the manuscript, M.G.H analyzed the data, and revised the manuscript, L.R analyzed the data, and revised the manuscript, A.B analyzed the data, and revised the manuscript, J.S analyzed the data, and revised the manuscript, M.A analyzed the data, and revised the manuscript, T.A analyzed the data, and revised the manuscript, A.F analyzed the data, and revised the manuscript, M.N analyzed the data, and revised the manuscript, C.S analyzed the data, and revised the manuscript, S.M analyzed the data, and revised the manuscript, D.S.E analyzed the data, and revised the manuscript&#x2019;, G.W.M analyzed the data, and revised the manuscript, M.R.N analyzed the data, and revised the manuscript, M.S analyzed the data, and revised the manuscript, J.E analyzed the data, and revised the manuscript, J.S designed the study, analyzed the data, revised the manuscript.</p>
                </fn>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were declared.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>10</day>
                <month>1</month>
                <year>2017</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2017</year>
            </pub-date>
            <volume>6</volume>
            <elocation-id>30</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>9</day>
                    <month>1</month>
                    <year>2017</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2017 Weiss SA et al.</copyright-statement>
                <copyright-year>2017</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/6-30/pdf"/>
            <abstract>
                <p>
                    <italic toggle="yes">Objective:</italic> To develop a novel software method (AR2) for reducing muscle contamination of ictal scalp electroencephalogram (EEG), and validate this method on the basis of its performance in comparison to a commercially available software method (AR1) to accurately depict seizure-onset location.
                    <bold/>
                </p>
                <p>
                    <italic toggle="yes">Methods:</italic> A blinded investigation used 23 EEG recordings of seizures from 8 patients. Each recording was uninterpretable with digital filtering because of muscle artifact and processed using AR1 and AR2 and reviewed by 26 EEG specialists. EEG readers assessed seizure-onset time, lateralization, and region, and specified confidence for each determination. The two methods were validated on the basis of the number of readers able to render assignments, confidence, the intra-class correlation (ICC), and agreement with other clinical findings.</p>
                <p>
                    <italic toggle="yes">Results:</italic> Among the 23 seizures, two-thirds of the readers were able to delineate seizure-onset time in 10 of 23 using AR1, and 15 of 23 using AR2 (p&lt;0.01). Fewer readers could lateralize seizure-onset (p&lt;0.05). The confidence measures of the assignments were low (probable-unlikely), but increased using AR2 (p&lt;0.05). The ICC for identifying the time of seizure-onset was 0.15 (95% confidence interval (CI), 0.11&#x2013;0.18) using AR1 and 0.26 (95% CI 0.21-0.30) using AR2.  The EEG interpretations were often consistent with behavioral, neurophysiological, and neuro-radiological findings, with left sided assignments correct in 95.9% (CI 85.7-98.9%, n=4) of cases using AR2.</p>
                <p>
                    <italic toggle="yes">Conclusions:</italic> EEG artifact reduction methods for localizing seizure-onset does not result in high rates of interpretability, reader confidence, and inter-reader agreement. However, the assignments by groups of readers are often congruent with other clinical data. Utilization of the AR2 software method may improve the validity of ictal EEG artifact reduction.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>scalp EEG</kwd>
                <kwd>electroencephalogram</kwd>
                <kwd>muscle artifact</kwd>
                <kwd>independent component analysis</kwd>
                <kwd>seizure</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1">
                    <funding-source>Epilepsy Foundation Award Research and Training Fellowship for Clinicians</funding-source>
                </award-group>
                <funding-statement>Dr. Weiss was supported by an Epilepsy Foundation Award Research and Training Fellowship for Clinicians. </funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec sec-type="intro">
            <title>Introduction</title>
            <p>The scalp electroencephalogram (EEG) is a critical diagnostic tool in the evaluation of seizures, but artifact from muscle contraction often limits its use because of the obscuring of the cerebrally generated potentials. This problem is present in 11% of ictal EEGs overall and up to 70% of frontal lobe seizures
                <sup>
                    <xref ref-type="bibr" rid="ref-1">1</xref>&#x2013;
                    <xref ref-type="bibr" rid="ref-3">3</xref>
                </sup>. The inability to discern the seizure-onset zone from scalp EEG often necessitates additional testing, including (positron emission tomography) PET, magnetoencephalography, ictal Single-photon emission computed tomography (SPECT), and intracranial EEG
                <sup>
                    <xref ref-type="bibr" rid="ref-4">4</xref>
                </sup>. Each of these tests adds undesired time and cost to the evaluation.</p>
            <p>Digital filters are the common approach to maximizing the likelihood of identifying a seizure-onset zone from EEG with muscle artifact. This filtering reduces muscle artifact by attenuating all frequencies beyond a selected value
                <sup>
                    <xref ref-type="bibr" rid="ref-5">5</xref>
                </sup>, but it may impair the integrity of the EEG recording since brain-generated potentials may be in the same frequency band
                <sup>
                    <xref ref-type="bibr" rid="ref-6">6</xref>,
                    <xref ref-type="bibr" rid="ref-7">7</xref>
                </sup>. Recently, new technologies to reduce muscle artifact based on independent component analysis (ICA)
                <sup>
                    <xref ref-type="bibr" rid="ref-8">8</xref>&#x2013;
                    <xref ref-type="bibr" rid="ref-10">10</xref>
                </sup> have become available. ICA removes artifacts based on source-related features instead of frequencies
                <sup>
                    <xref ref-type="bibr" rid="ref-11">11</xref>&#x2013;
                    <xref ref-type="bibr" rid="ref-14">14</xref>
                </sup>. Prior studies have demonstrated that ICA-based methods improve the interpretation of artifact-laden ictal EEG recordings; in these studies researchers manually performed the ICA analysis prior to performing the EEG interpretation
                <sup>
                    <xref ref-type="bibr" rid="ref-15">15</xref>,
                    <xref ref-type="bibr" rid="ref-16">16</xref>
                </sup>. Automatic artifact reduction using ICA
                <sup>
                    <xref ref-type="bibr" rid="ref-8">8</xref>
                </sup> has become commercially available and is included in the latest versions of popular EEG viewer software
                <sup>
                    <xref ref-type="bibr" rid="ref-17">17</xref>
                </sup>.</p>
            <p>Despite the utilization of these software products by neurologists around the globe, the clinical benefit has not been established. It is also unknown if the new approaches introduce confounding artifacts that may lead to erroneous interpretations.</p>
            <p>The goal of this study was to assess the validity of a commercially available EEG artifact reduction tool (AR1)
                <sup>
                    <xref ref-type="bibr" rid="ref-17">17</xref>
                </sup> and compare its validity to a novel automatic artifact reduction tool (AR2), which was developed at the University of California Los Angeles on the basis of inter-reader agreement, confidence, and congruence with other clinical findings, and which we are describing here.</p>
        </sec>
        <sec sec-type="methods">
            <title>Methods</title>
            <sec>
                <title>Implementation</title>
                <p>The custom software algorithm involved importing EEG scalp recordings as European Data Format (EDF) files in Matlab 8.4 (Mathworks, Natick, MA). The imported EEG was band pass filtered (16&#x2013;70 Hz) using a 500th order finite impulse response filter, i.e. FIR1 in referential montage. We then applied a power spectral density algorithm to find extended intervals of elevated high frequency power across electrodes. We next calculated the normalized mutual information (MI)
                    <sup>
                        <xref ref-type="bibr" rid="ref-18">18</xref>
                    </sup> adjacency matrix across all scalp electrode contacts during the (16&#x2013;70 Hz) band-pass filtered artifact epoch of greatest duration and assigned each scalp EEG electrode a single MI value derived from the maximum pairwise MI values in the adjacency matrix. We then determined if this maximum mutual information value exceeded a threshold value, and if that electrode should be included in subsequent artifact reduction processing. If the recording lacked an artifact epoch, or all channels were excluded, artifact reduction was applied to the referential recordings from all recording electrodes.</p>
                <p>The high pass filtered (&gt;16 Hz) scalp EEG was then separated into consecutive 120-second trials and each trial was processed using CUDAICA
                    <sup>
                        <xref ref-type="bibr" rid="ref-19">19</xref>
                    </sup>. The purpose of the ICA was to separate the (&gt;16 Hz) seizure activity, from the (&gt;16 Hz) muscle artifact. The 16 Hz cut-off for the filter was chosen to isolate the vast majority of the muscle artifact. Independent components that explained an amount of variance above a particular threshold were excluded from the signal. The threshold was selected on the basis of the values of the raw and normalized mixing matrix (i.e. inverse weight matrix) calculated in each of the ICA iterations. We assumed that the last myogenic component and first neurogenic component can be differentiated on the basis of the inverse weight matrix, which provides the spatial distribution of each component, and identifying the independent component of greatest order with a focal spatial topography defined on the basis of exceeding a normalized threshold in at least one electrode of the inverse weight matrix.</p>
                <p>The pruned EEG calculated for each 120 second trial of EEG (i.e iteration of CUDAICA) was concatenated, and subsequently the entire raw ictal EEG was low pass filtered (&lt;16 Hz) using a 500th order symmetric digital FIR filter, and the resulting low pass filtered EEG was reconstituted with the high pass (&gt;16 Hz) filtered EEG, following the exclusion of the independent components suspected to represent muscle artifact. The reconstituted and modified ictal EEG was exported from Matlab format to EDF for subsequent visual analysis.</p>
            </sec>
            <sec>
                <title>Operation</title>
                <p>All computations were carried out using compiled Matlab 8.4 custom scripts on a cluster of HP SL230s Gen 8 ES-2670 nodes with dual-eight-core 2.6 GHz Intel ES-2670 central processing units, 4 GB of memory per core, and NVIDIA Tesla graphics processing units. Minimal system requirements for operating AR2 include Matlab v8.4 or above, an Intel Xeon CPU, 2 GB of memory, a NVIDIA GPU, which is CUDA compatible, and CUDAICA. For scalp EEG files exported from Neuroworkbench (Nihon-Kohden, Irvine, CA, USA), executing the AR2 software method requires only inputting the file name of the EDF file of interest at the command line. For EDF files exported from other equipment manufacturers, full automation of the AR2 software method can be easily accomplished with simple modifications of the input parameters.</p>
            </sec>
            <sec>
                <title>Patients and sample selection</title>
                <p>We tested AR2 retrospectively using 23 seizures from eight adult patients with suspected focal-onset seizures undergoing evaluation at the UCLA Seizure Disorder Center. The patients and seizures were selected by S.A.W, whom was not a reviewer, from a review of consecutive clinical neurophysiology case conference presentations between January 1, 2014 and December 1, 2015 and based on case conference consensus that the ictal EEG records were uninterpretable due to muscle artifact contamination when reviewed with conventional digital filtering. For each of these patients, between 1&#x2013;4 uninterpretable seizures were selected for inclusion in the study on the basis of
                    <italic toggle="yes"/> a lack of ECG, electrode, and salt bridge artifact by S.A.W. Clinical data for each patient included seizure semiology, inter-ictal epileptiform abnormality, unobscured findings and radiological reports from MRI, PET, SPECT scans.  The EEG and clinical records were deidentified and research informed consent was not required. This study was approved under UCLA IRB#15-001481.  The video EEGs were acquired using a EEG-1200 amplifier (Nihon-Kohden, Irvine, CA) at a sampling rate of 200 Hz. Electrodes were placed according to the 10&#x2013;20 international system with the additional anterotemporal electrodes at T1/T2. The duration of the exported EEG recording included the entire seizure and a 2-3 minute peri-ictal epoch.</p>
            </sec>
            <sec>
                <title>Muscle artifact removal</title>
                <p>AR1 was the commercially available Persyst v12 artifact reduction software
                    <sup>
                        <xref ref-type="bibr" rid="ref-17">17</xref>
                    </sup> (Persyst Development, San Diego, CA). The methods are proprietary. AR2 was developed by S.A.W and involved a two-step procedure consisting of a custom algorithm. EEG processed by AR2 was also interpreted using the Persyst v12 artifact reduction software.</p>
            </sec>
            <sec>
                <title>Performance measures of AR1 and AR2</title>
                <p>The ictal recordings for AR1 and AR2 were reviewed in Persyst v12 without video by 26 neurologists with a specialization in EEG. The readers were blinded to which records received AR1 or AR2, and each reader reviewed the 46 seizures in random. Following review of each ictal record, the reader completed a multiple choice questionnaire (
                    <xref ref-type="other" rid="SM1">Supplementary File 1</xref>), which assessed ability to visualize seizure-onset (Y,N) lateralize seizure-onset (L,R,N), locate the region of ictal onset (anterior temporal, anterior frontal, mid-temporal, temporal-parietal-occipital, occipital, none), and self-identify confidence of interpretation on a 5 point scale [(5) entirely confident (4) somewhat sure (3) probable (2) not confident (1) unlikely i.e. slight probability] for each measure. When time of onset, laterality, or the seizure onset region was not assigned the confidence was taken as (0). Readers were not provided with a definition of seizure-onset.</p>
            </sec>
            <sec>
                <title>EEG analysis</title>
                <p>During the interpretation of the ictal EEG processed by AR1 or AR2, no restrictions were placed on the use of Persyst v12 built in EEG filters (low-pass, high-pass, band-pass), or changes to montage. A comment in each recording was used to demarcate the time prior to the clinical seizure but not the EEG onset. The assessment was not time limited.</p>
            </sec>
            <sec>
                <title>Statistical analysis</title>
                <p>Differences in EEG interpretation utilizing AR1 and AR2 were assessed using the Wilcoxon signed rank test and the McNemar test on paired nominal data. Agreement across readers (Y,N,L,R), using either AR1 or AR2, was calculated using the inter-class correlation coefficient (ICC). For these outcomes, missing values were imputed to be in between non-missing values, and were analyzed using cumulative logit mixed effects models, which capture this ordering in the values and accounts for the clustering of readings into patients, and seizures within patients. Agreement across readers for onset region was calculated using a Fleiss kappa and treating the missing values as a category of response. Errors are given as standard error of the mean (s.e.m), unless otherwise specified.</p>
            </sec>
        </sec>
        <sec sec-type="results">
            <title>Results</title>
            <sec>
                <title>Implementation of the AR2 method</title>
                <p>We applied the AR2 method developed at UCLA to the 23 seizures in the dataset. The method was automatic and unsupervised and separated the high-pass filtered (&gt; 16 Hz) scalp EEG recordings into putative neurogenic and myogenic components (
                    <xref ref-type="fig" rid="f1">Figure 1</xref>). After pruning the putative myogenic components, the putative neurogenic components were reconstituted with the low-pass filtered (&lt; 16 Hz) scalp EEG (
                    <xref ref-type="fig" rid="f2">Figure 2</xref>). The AR2 and AR1 processed scalp EEG recordings were subsequently inspected by the 26 specialists (
                    <xref ref-type="fig" rid="f3">Figure 3</xref>).</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <title>The AR2 method automatically separates independent components containing myogenic from neurogenic potentials.</title>
                        <p>The AR2 method automatically separates independent components containing myogenic from neurogenic potentials in the beta and gamma band on the basis of spatial topography and explained variance. 
                            <bold>A.</bold> Unprocessed scalp ictal EEG recording that was deemed uninterpretable. 
                            <bold>B.</bold> The same epoch after applying a low pass (&lt;16 Hz) filter demonstrating a lack of a convincing ictal rhythm. 
                            <bold>C.</bold> The ictal epoch after applying a high pass (&gt; 16 Hz) filter demonstrating dense muscle artifact. 
                            <bold>D.</bold>  An example of a mutual information adjacency matrix calculated during an epoch of artifact in the high pass (&gt; 16 Hz) filtered scalp EEG recording. Three scalp electrode recordings exhibited relatively low mutual information with all other electrodes and were designated poor quality and excluded from further processing to optimize INFO-MAX ICA based artifact reduction. 
                            <bold>E.</bold> The inverse weight matrix, and normalized inverse weight matrix (panel 
                            <bold>F</bold>) of all independent components across scalp electrode recordings for the seizure in panel A. Independent components 1-13 exhibited strong focality and were designated as containing myogenic potentials, while independent components 14 and above were designated neurogenic.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure1.gif"/>
                </fig>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <title>Ictal onset is revealed with reconstitution of the low pass (&lt;16 Hz) ictal scalp EEG with the high pass (&gt;16 Hz) neurogenic independent components.</title>
                        <p>Reconstitution of the low pass (&lt;16 Hz) ictal scalp EEG with the high pass (&gt;16 Hz) neurogenic independent components reveals a clear ictal onset. 
                            <bold>A.</bold> The tentative neurogenic independent components (
                            <bold>A1</bold>) and myogenic independent components (
                            <bold>A2</bold>) derived from INFO-MAX ICA processing of the high pass (&gt; 16 Hz) filtered ictal scalp EEG recording. The largest amplitude activity in the neurogenic components are evident frontally and in the left hemisphere. 
                            <bold>B.</bold> The low pass filtered ictal scalp EEG suggests a possible left frontal onset but a convincing ictal rhythm is lacking. 
                            <bold>C.</bold> Reconstitution of the low pass EEG with the neurogenic high pass (&gt; 16 Hz) independent components results in an ictal EEG that demonstrates a more convincing left frontal onset consisting of beta-gamma oscillations with some clear phase reversals in F3 and F7.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure2.gif"/>
                </fig>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <title>A comparison of the results of artifact reduction methodologies.</title>
                        <p>Ictal scalp EEG recording from seizure 18 prior to artifact reduction processing (top), after processing with artifact reduction methodology 1 (AR1, middle), and after processing with artifact reduction methology 2 (AR2, bottom). Only processing with AR2 reveals a right hemispheric onset followed by clear spread to right frontal regions.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure3.gif"/>
                </fig>
            </sec>
            <sec>
                <title>Identifying time of seizure-onset</title>
                <p>Across the 23 seizures considered previously uninterpretable with digital filtering (
                    <xref ref-type="table" rid="T1">Table 1</xref>) two-thirds of the readers were able to delineate the time of seizure-onset for 10 of the 23 using AR1, and 15 of the 23 using AR2 (
                    <xref ref-type="fig" rid="f4">Figure 4A</xref>, n=23, p&lt;0.01). Across the 23 seizures, the mean confidence measure for the determination of seizure-onset was 2.68 +/- 0.19 (probable-not confident) when AR2 was utilized and 2.19 +/- 0.18 (not confident) with AR1 (
                    <xref ref-type="fig" rid="f5">Figure 5A</xref>, p&lt;0.01). The inter-class coefficient (ICC) was 0.26 (95% Confidence Interval (CI) 0.21-0.30) with AR2, and 0.15 (95% CI 0.11-0.18) with AR1 (p=0.333).</p>
                <table-wrap id="T1" orientation="portrait" position="anchor">
                    <label>Table 1. </label>
                    <caption>
                        <title>Clinical description of patients.</title>
                        <p>Clinical description of patients and ictal EEG laterality and focus assignments with AR1 and AR2. Abbreviations (L:left, R:right), PET findings refer to hypometabolism, SPECT findings to hyperperfusion. The focus was determined on a majority basis across all the assignments made by the readers for a subject&#x2019;s seizure(s).</p>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top">PatientAge
                                    <break/>Gender</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Aura/Semiology</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">IEDs</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Un-
                                    <break/>Obscured
                                    <break/>Seizure
                                    <break/>Onset
                                    <break/>Laterality</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">sMRI</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">PET/SPECT</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Seizure Onset
                                    <break/>or Spread
                                    <break/>Laterality (AR2)</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Seizure
                                    <break/>Onset or
                                    <break/>Spread
                                    <break/>Laterality
                                    <break/>(AR1)</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">AR2 focus</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">AR1 focus</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#1 46M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Somato-sensory
                                    <break/>(warmth)/arousal from
                                    <break/>sleep, hyperkinetic,</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">none</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">left frontal
                                    <break/>ictal rhythm</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">nonlesional</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">normal PET,
                                    <break/>SPECT left insula</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">1. 14/21 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">1. 17/19 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#2 32M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Somato-sensory
                                    <break/>(discomfort)/right facial
                                    <break/>grimacing, right leg
                                    <break/>elevation, breath holding</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">none</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">none</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">nonlesional</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">PET right
                                    <break/>temporal, SPECT
                                    <break/>bilateral frontal
                                    <break/>lobes</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">2. 6/10 L
                                    <break/>3. 6/8 L 
                                    <break/>4. 13/16 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">2. 6/7 R
                                    <break/>3. 6/6 R
                                    <break/>4. 7/7 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant.Frontal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">mid.
                                    <break/>Temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#3 23M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Tachycardia/arousal from
                                    <break/>sleep, hyperkinetic, b/l
                                    <break/>dystonic posturing</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">none</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">none</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">nonlesional</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">normal PET</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">5. 8/10 R
                                    <break/>6. 14/16R
                                    <break/> 7. 7/11 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">5. 6/11 L
                                    <break/>6. 6/6 L
                                    <break/>7. 6/6 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">frontal/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">mid
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#4 53M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Visual disturbance/
                                    <break/>behavioral arrest, cursing,
                                    <break/>right arm dystonic
                                    <break/>posturing</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L anterior
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L MTS, L parietal
                                    <break/>encephalomalacia</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">PET L parietal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">8. 18/19 L 
                                    <break/>9. 16/21L
                                    <break/>10. 17/21 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top"> 8. 14/17 L 
                                    <break/>9. 10/13 L
                                    <break/>10. 21/23 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#5 20M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Vague/right head and eye
                                    <break/>version, right arm clonic
                                    <break/>movements,</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L frontal
                                    <break/>polymicrogyria</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">normal PET</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">11. 11/18 R
                                    <break/>12. 7/11 L
                                    <break/>13. 9/10 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">11. 9/18 R
                                    <break/>12. 10/13 L
                                    <break/>13. 7/11 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#6 27M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">None/arousal from sleep,
                                    <break/>dyscognitive, right head
                                    <break/>and body version.</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L frontal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L frontal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">normal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">PET L inferior
                                    <break/>frontal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">14. 20/22 L
                                    <break/>15. 21/24 L
                                    <break/>16. 22/24 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">14. 25/25 L
                                    <break/>15. 24/24 L
                                    <break/>16. 24/25 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant frontal/
                                    <break/>ant  temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant frontal/
                                    <break/>ant
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#7 26F</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">None/nocturnal arousal
                                    <break/>or daytime events,
                                    <break/>hyperkinetic, right or left
                                    <break/>dystonic posturing</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L and R
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">None</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Right middle cranial
                                    <break/>fossa arachnoid
                                    <break/>cyst</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">PET R parietal
                                    <break/>lobe</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">17. 21/23 R
                                    <break/>18. 12/16 R
                                    <break/>19. 21/23 R
                                    <break/>20. 20/21 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">17. 20/23 R
                                    <break/>18. 18/21 R
                                    <break/>19. 14/16 R
                                    <break/>20. 6/11 R</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">#8 19M</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Lightheaded/loss
                                    <break/>of consciousness,
                                    <break/>right &gt; left arm clonic
                                    <break/>movements, and
                                    <break/>posturing</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L and R
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">None</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">L mesial
                                    <break/>temporal CD,
                                    <break/>R&gt;L gyrus rectus
                                    <break/>encephalomalacia</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">PET L&gt;R
                                    <break/>temporal lobe</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">21. 12/16 R
                                    <break/>22. 12/23 R
                                    <break/>23. 23/26 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">21. 14/16 L
                                    <break/>22. 23/24 L
                                    <break/>23. 22/22 L</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">ant/mid
                                    <break/>temporal</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                    <label>Figure 4. </label>
                    <caption>
                        <title>More readers could lateralize seizure onset utilizing AR2 as compared to AR1.</title>
                        <p>More readers could visualize the time of seizure onset, and assign laterality to seizure onset utilizing AR2 as compared to AR1, and the assigned laterality of seizure onset sometimes differed between the two methods. 
                            <bold>A.</bold> Bar plot of the number of readers whom visualized the time of onset for each seizure utilizing AR1 (blue) or AR2 (red). Across seizures more readers visualized seizure onset utilizing AR2 compared with AR1 (p&lt;0.01). Asterisks indicate statistically significant differences between the two methods in individual seizures (McNemar, p&lt;0.05). 
                            <bold>B.</bold> Stacked bar plot of the number of readers selecting a left- or right-sided seizure onset utilizing AR1 (light blue, left; light yellow, right) or AR2 (dark blue, left; yellow, right). Across seizures more readers lateralized seizure onset utilizing AR2 compared with AR1 (p&lt;0.01). Asterisks indicate statistically significant differences in individual seizures (McNemar, p&lt;0.05), number sign indicates a significant change in the determination of laterality utilizing AR2 compared to AR1 (McNemar, p&lt;0.05).</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure4.gif"/>
                </fig>
                <fig fig-type="figure" id="f5" orientation="portrait" position="float">
                    <label>Figure 5. </label>
                    <caption>
                        <title>Confidence in the interpretation of ictal EEG onset improves with utilization of AR2 as compared to AR1.</title>
                        <p>

                            <bold>A.</bold> Bar plot of the mean confidence scale values for visualizing the time of seizure onset for the 23 seizures interpreted utilizing AR1 (blue), and AR2 (red). Across seizures, confidence scale values were greater when AR2 was utilized as compared with AR1 (p&lt;0.01). Asterisks indicate differences in confidence values in individual seizures (p&lt;0.05). Error bars are calculated as s.e.m. 
                            <bold>B.</bold>  The respective mean confidence scale values for seizure onset lateralization. 
                            <bold>C.</bold> The respective mean confidence scale values for seizure focus localization. Across seizures, confidence scale values for lateralizing seizure onset, and identifying the seizure focus were greater when AR2 was utilized as compared with AR1 (p&lt;0.05).</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure5.gif"/>
                </fig>
            </sec>
            <sec>
                <title>Lateralizing and localizing seizure-onset</title>
                <p>Compared with identifying the time of seizure-onset, fewer readers could lateralize seizure-onset after either AR1 or AR2 (
                    <xref ref-type="fig" rid="f4">Figure 4B</xref>, p&lt;0.05). However, more readers were able to lateralize seizure-onset using AR2 compared to AR1 (
                    <xref ref-type="fig" rid="f4">Figure 4B</xref>, p&lt;0.05) and readers were more confident with AR2, although both methods did not produce high levels of confidence. The mean confidence measure for seizure-onset lateralization was 1.87+/- 0.198 (not confident-unlikely) for AR2 and 1.54+/- 0.176 (not confident-unlikely) for AR1 (
                    <xref ref-type="fig" rid="f5">Figure 5B</xref>, p&lt;0.01). The ICC was equivalent (p=0.501) for AR1 (ICC=0.33 95% CI 0.30-0.37) and AR2 (ICC=0.28 95% CI 0.25-0.31). For localizing the region of seizure-onset reader confidence (
                    <xref ref-type="fig" rid="f5">Figure 5C</xref>), and agreement was very low (
                    <xref ref-type="fig" rid="f6">Figure 6</xref>, AR1 Fleiss&#x2019; kappa = 0.1199, 95% CI = 0.116-0.124, AR2 Fleiss&#x2019; kappa = 0.121, 95% CI =0.118-0.125). For two of the seizures, the laterality assignments were different when AR2 was used as compared to AR1 (
                    <xref ref-type="fig" rid="f4">Figure 4B</xref>, McNemar p&lt;0.05).</p>
                <fig fig-type="figure" id="f6" orientation="portrait" position="float">
                    <label>Figure 6. </label>
                    <caption>
                        <title>Differences in ictal onset region assignments using AR1 or AR2.</title>
                        <p>Stacked bar plot of the ictal onset region assignments using either AR1 (lighter colors) or AR2 (darker colors) for all 23 seizures. Overall, across seizures, more readers were able to render an assignment using AR2 as compared to AR1 (p&lt;0.05). Inter-reader agreement using for assigning the ictal onset region was marginal using either AR1 or AR2.</p>
                    </caption>
                    <graphic orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/11390/be01c09c-d7e5-493f-bf78-4aac56d43e4f_figure6.gif"/>
                </fig>
            </sec>
            <sec>
                <title>Comparison of seizure-onset lateralization assignments with other clinical findings</title>
                <p>We identified the patients with at least two consistent clinical findings that lateralized the suspected seizure-onset zone (SOZ). Compared to AR1, more readers were able to render seizure-onset laterality assignments using AR2, and these assignments were more often congruent with other clinical data (
                    <xref ref-type="table" rid="T2">Table 2</xref>). These clinical findings included seizure semiology, onset of seizures without EEG obscuration, structural MRI, PET, or SPECT findings. If any of the clinical findings were contradictory with respects to the laterality of the suspected SOZ, the SOZ was designated unknown. Overall, 4 patients (#1,4,5,6) had clinical findings that supported a left-hemispheric SOZ, and 1 patient (#7) had clinical findings that supported a right-hemispheric SOZ (Table S1). Among the 8 patients, if the reader lateralized the seizure-onset to the left using AR2 they were correct in 95.9% (95% CI 85.7-98.9%) of cases, but using AR1 they were correct in 91.9% (95% CI 77.0-97.5%) of cases (
                    <xref ref-type="table" rid="T3">Table 3</xref>, p&lt;0.0607).</p>
                <table-wrap id="T2" orientation="portrait" position="anchor">
                    <label>Table 2. </label>
                    <caption>
                        <title>Contingency table of agreement between assigned seizure onset laterality and other clinical findings.</title>
                        <p>Contingency table of the agreement between seizure-onset laterality using AR1 (left), and AR2 (right) and the laterality of seizure-onset assigned on the basis of other clinical data for all the study patients and seizures. Note that clinical seizure-onset lateralization was not available for all patients, and when readers rendered a laterality decision that matched the laterality based on other clinical data, the assignments &#x201c;agreed&#x201d;.</p>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th colspan="2" rowspan="3"/>
                                <th align="center" colspan="3" rowspan="1">AR1</th>
                                <th colspan="1" rowspan="3"/>
                                <th colspan="2" rowspan="3"/>
                                <th align="center" colspan="3" rowspan="1">AR2</th>
                            </tr>
                            <tr>
                                <th colspan="3" rowspan="1">EEG seizure-onset
                                    <break/>lateralization</th>
                                <th colspan="3" rowspan="1">EEG seizure-onset
                                    <break/>lateralization</th>
                            </tr>
                            <tr>
                                <th colspan="2" rowspan="1">Y</th>
                                <th colspan="1" rowspan="1">N</th>
                                <th colspan="2" rowspan="1">Y</th>
                                <th colspan="1" rowspan="1">N</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="center" colspan="1" rowspan="2" style="-webkit-transform:rotate(-90deg);" valign="bottom">
                                    <bold>Clinical seizure-</bold>
                                    <break/>
                                    <bold>onset</bold>
                                    <break/>
                                    <bold>lateralization</bold>
                                    <break/>
                                    <break/>
                                </td>
                                <td align="center" colspan="1" rowspan="1">
                                    <break/>
                                    <break/>
                                    <bold>Y</bold>
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">Agree
                                    <break/>
                                    <break/>145
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">Disagree
                                    <break/>
                                    <break/>32
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">
                                    <break/>
                                    <break/>187
                                    <break/>&#x00a0;</td>
                                <td colspan="1" rowspan="2"/>
                                <td align="center" colspan="1" rowspan="2" style="-webkit-transform:rotate(-90deg);" valign="bottom">
                                    <bold>Clinical seizure-</bold>
                                    <break/>
                                    <bold>onset</bold>
                                    <break/>
                                    <bold>lateralization</bold>
                                    <break/>
                                    <break/>
                                </td>
                                <td align="center" colspan="1" rowspan="1">
                                    <break/>
                                    <break/>
                                    <bold>Y</bold>
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">Agree
                                    <break/>
                                    <break/>171
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">Disagree
                                    <break/>
                                    <break/>39
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">
                                    <break/>
                                    <break/>154
                                    <break/>&#x00a0;</td>
                            </tr>
                            <tr>
                                <td align="center" colspan="1" rowspan="1">
                                    <bold>N</bold>
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="2" rowspan="1">83
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">151
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">
                                    <bold>N</bold>
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="2" rowspan="1">107
                                    <break/>&#x00a0;</td>
                                <td align="center" colspan="1" rowspan="1">127
                                    <break/>&#x00a0;</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <table-wrap id="T3" orientation="portrait" position="anchor">
                    <label>Table 3. </label>
                    <caption>
                        <title>Agreement between seizure-onset laterality and other clinical findings.</title>
                        <p>Agreement between seizure-onset laterality assignments using either AR1 or AR2 and the suspected laterality of the SOZ assigned on the basis of other clinical data. Parentheses indicate the 95% confidence interval. &#x201c;n&#x201d; refers to the number of subjects.</p>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top">Artifact
                                    <break/>Reduction
                                    <break/>Method</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Reader Assignment
                                    <break/>of Seizure-Onset
                                    <break/>Laterality</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Percentage of reader assignments
                                    <break/>in concordance with SOZ
                                    <break/>laterality defined by other clinical
                                    <break/>criteria.</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="top">AR1</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Right </td>
                                <td align="left" colspan="1" rowspan="1" valign="top">59.3 (28.5-84.2) (n=1)</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">Unknown</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">66.8 (38.1-86.9) (n=3)</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">Left</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">91.9 (77.0-97.5) (n=4)</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="top">AR2</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">Right</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">61.8 (31.3-85.1) (n=1)</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">Unknown</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">71.4 (42.8-89.3) (n=3)</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="top">Left</td>
                                <td align="left" colspan="1" rowspan="1" valign="top">95.9 (85.7-98.9) (n=4)</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
            </sec>
        </sec>
        <sec sec-type="discussion">
            <title>Discussion</title>
            <p>In this study, we present a new artifact reduction software, AR2, and its application compared with a commercially available tool, AR1. 26 neurologists used the two methods to interpret 23 ictal EEG recordings that were uninterpretable due to muscle artifact when reviewed with conventional filtering. The major findings from this study include: 1) the utilization of artifact reduction software results in non-uniform interpretation of ictal EEG, with many readers not able to render assignments; 2) when readers did render seizure-onset laterality assignments it often agreed with other clinical findings; 3) although the study size was small, the AR2 software method increased the number of readers that rendered assignments, and reader confidence suggesting it aids in diagnosis.</p>
            <p>Both AR1 and AR2 are digital signal processing software tools
                <sup>
                    <xref ref-type="bibr" rid="ref-8">8</xref>,
                    <xref ref-type="bibr" rid="ref-15">15</xref>,
                    <xref ref-type="bibr" rid="ref-17">17</xref>
                </sup> that may confound accurate ictal EEG interpretation by altering the appearance of the EEG. Digital filtering also can mislead
                <sup>
                    <xref ref-type="bibr" rid="ref-5">5</xref>
                </sup>. One concern about AR1 and AR2 relates to the lack of understanding of the waveform alteration. Specifically, the readers were not confident in their interpretations, and the determination of seizure lateralization sometimes differed between the AR1 or AR2 methods. As such, the artifact reduction methods may introduce false positive findings. This demonstrates the limits of EEG artifact reduction approaches and puts the advantages into perspective.</p>
            <p>Neurologists often disagree on the interpretation of ictal EEG processed with artifact reduction software, however the seizure-onset laterality assignments rendered by a quorum are often correct. Further refinement of this technology may successfully improve the efficiency of video-EEG monitoring and the utilization of epilepsy surgery; however, correlation with epilepsy resective surgery outcomes will be required for further validation.</p>
            <p>With regard to AR2, the novel software method developed for this study, the slight improvement seen in ictal EEG interpretability after applying the method suggests that the algorithm can (1) reliably produce signals that are, exclusively or mainly, EEG or EMG, and (2) identify which signals are of brain origin and which are contaminant.</p>
            <p>One explanation for AR2&#x2019;s ability to isolate myogenic from neurogenic independent components may be that scalp EEG electrodes record weighted and summated far-field signals from all brain and muscle sources, as well as near-field electrode noise generated at the electrode/skin interface. The decomposition of scalp EEG data into components with maximally independent time courses using independent component analysis results in time series that may resemble single equivalent dipoles because of the bias towards increased local connectivity in neurons and myocytes as compared to long distance connectivity
                <sup>
                    <xref ref-type="bibr" rid="ref-14">14</xref>
                </sup>.</p>
        </sec>
        <sec>
            <title>Data and software availability</title>
            <p>All software code for the new AR2 software developed by S.A.W. is openly and permanently available at 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/shennanw/AR2">https://github.com/shennanw/AR2</ext-link>.</p>
            <p>Archived source code as at time of publication: doi, 
                <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.229893">10.5281/zenodo.229893</ext-link>
                <sup>
                    <xref ref-type="bibr" rid="ref-21">21</xref>
                </sup>
            </p>
            <p>License: GNU Public License 3.</p>
            <p>The raw scalp ictal EEG files that were analyzed in this study using AR2, as well as the scalp ictal EEG files following processing using AR2 are available from Zenodo: 
                <bold>Dataset 1. Validity of two automatic artifact reduction software methods in ictal EEG interpretation.</bold> Doi, 
                <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.221095">10.5281/zenodo.221095</ext-link>
                <sup>
                    <xref ref-type="bibr" rid="ref-22">22</xref>
                </sup> (
                <ext-link ext-link-type="uri" xlink:href="https://www.zenodo.org/record/221095#.WF63m7YrLdR">https://www.zenodo.org/record/221095#.WF63m7YrLdR</ext-link>)</p>
            <p>The raw data used for the comparative assessments are available from Zenodo: 
                <bold>Dataset 2. Validity of two automatic artifact reduction software methods in ictal EEG interpretation.</bold> Doi. 
                <ext-link ext-link-type="uri" xlink:href="https://10.5281/zenodo.223329">10.5281/zenodo.223329</ext-link> (
                <ext-link ext-link-type="uri" xlink:href="https://zenodo.org/record/223329#.WHN-HLYrLdQ">https://zenodo.org/record/223329#.WHN-HLYrLdQ</ext-link>)</p>
        </sec>
    </body>
    <back>
        <ack>
            <title>Acknowledgements</title>
            <p>The authors would like to thank Mrs. Sandra Dewar for her administrative assistance, and Mr. Kirk Shattuck for his technical support.</p>
        </ack>
        <sec id="SM1" sec-type="supplementary-material">
            <title>Supplementary material</title>
            <p>Supplementary File 1: Multiple choice questionnaire, completed by the reader after review of the ictal record.</p>
            <p>
                <ext-link ext-link-type="uri" xlink:href="https://f1000researchdata.s3.amazonaws.com/supplementary/10569/428210a1-7ef9-47e8-b592-09148515163e.xlsx">Click here to access the data</ext-link>.</p>
        </sec>
        <ref-list>
            <ref id="ref-1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Williamson</surname>
                            <given-names>PD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Spencer</surname>
                            <given-names>DD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Spencer</surname>
                            <given-names>SS</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Complex partial seizures of frontal lobe origin.</article-title>
                    <source>

                        <italic toggle="yes">Ann Neurol.</italic>
</source>
                    <year>1985</year>;<volume>18</volume>(<issue>4</issue>):<fpage>497</fpage>&#x2013;<lpage>504</lpage>.
                    <pub-id pub-id-type="pmid">4073842</pub-id>
                    <pub-id pub-id-type="doi">10.1002/ana.410180413</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Laskowitz</surname>
                            <given-names>DT</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sperling</surname>
                            <given-names>MR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>French</surname>
                            <given-names>JA</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The syndrome of frontal lobe epilepsy: characteristics and surgical management.</article-title>
                    <source>

                        <italic toggle="yes">Neurology.</italic>
</source>
                    <year>1995</year>;<volume>45</volume>(<issue>4</issue>):<fpage>780</fpage>&#x2013;<lpage>7</lpage>.
                    <pub-id pub-id-type="pmid">7723970</pub-id>
                    <pub-id pub-id-type="doi">10.1212/WNL.45.4.780</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Foldvary</surname>
                            <given-names>N</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Klem</surname>
                            <given-names>G</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hammel</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The localizing value of ictal EEG in focal epilepsy.</article-title>
                    <source>

                        <italic toggle="yes">Neurology.</italic>
</source>
                    <year>2001</year>;<volume>57</volume>(<issue>11</issue>):<fpage>2022</fpage>&#x2013;<lpage>8</lpage>.
                    <pub-id pub-id-type="pmid">11739820</pub-id>
                    <pub-id pub-id-type="doi">10.1212/WNL.57.11.2022</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Knowlton</surname>
                            <given-names>RC</given-names>
                        </name>
</person-group>:
                    <article-title>The role of FDG-PET, ictal SPECT, and MEG in the epilepsy surgery evaluation.</article-title>
                    <source>

                        <italic toggle="yes">Epilepsy Behav.</italic>
</source>
                    <year>2006</year>;<volume>8</volume>(<issue>1</issue>):<fpage>91</fpage>&#x2013;<lpage>101</lpage>. Review.
                    <pub-id pub-id-type="pmid">16406729</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.yebeh.2005.10.015</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Gotman</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ives</surname>
                            <given-names>JR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gloor</surname>
                            <given-names>P</given-names>
                        </name>
</person-group>:
                    <article-title>Frequency content of EEG and EMG at seizure onset: possibility of removal of EMG artefact by digital filtering.</article-title>
                    <source>

                        <italic toggle="yes">Electroencephalogr Clin Neurophysiol.</italic>
</source>
                    <year>1981</year>;<volume>52</volume>(<issue>6</issue>):<fpage>626</fpage>&#x2013;<lpage>39</lpage>.
                    <pub-id pub-id-type="pmid">6172262</pub-id>
                    <pub-id pub-id-type="doi">10.1016/0013-4694(81)91437-1</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bautista</surname>
                            <given-names>RE</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Spencer</surname>
                            <given-names>DD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Spencer</surname>
                            <given-names>SS</given-names>
                        </name>
</person-group>:
                    <article-title>EEG findings in frontal lobe epilepsies.</article-title>
                    <source>

                        <italic toggle="yes">Neurology.</italic>
</source>
                    <year>1998</year>;<volume>50</volume>(<issue>6</issue>):<fpage>1765</fpage>&#x2013;<lpage>71</lpage>.
                    <pub-id pub-id-type="pmid">11906513</pub-id>
                    <pub-id pub-id-type="doi">10.1046/j.1528-1157.2002.37501.x</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Worrell</surname>
                            <given-names>GA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>So</surname>
                            <given-names>EL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kazemi</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Focal ictal beta discharge on scalp EEG predicts excellent outcome of frontal lobe epilepsy surgery.</article-title>
                    <source>

                        <italic toggle="yes">Epilepsia.</italic>
</source>
                    <year>2002</year>;<volume>43</volume>(<issue>3</issue>):<fpage>277</fpage>&#x2013;<lpage>82</lpage>.
                    <pub-id pub-id-type="pmid">11906513</pub-id>
                    <pub-id pub-id-type="doi">10.1046/j.1528-1157.2002.37501.x</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-8">
                <label>8</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Makeig</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bell</surname>
                            <given-names>AJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Jung</surname>
                            <given-names>TP</given-names>
                        </name>
</person-group>:
                    <article-title>Independent component analysis of electroencephalographic data</article-title>.
                    <italic toggle="yes">Advances in neural information processing systems.</italic>
                    <year>1996</year>;<fpage>145</fpage>&#x2013;<lpage>151</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.36.4803&amp;rep=rep1&amp;type=pdf">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Makeig</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Jung</surname>
                            <given-names>TP</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bell</surname>
                            <given-names>AJ</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Blind separation of auditory event-related brain responses into independent components.</article-title>
                    <source>

                        <italic toggle="yes">Proc Natl Acad Sci U S A.</italic>
</source>
                    <year>1997</year>;<volume>94</volume>(<issue>20</issue>):<fpage>10979</fpage>&#x2013;<lpage>84</lpage>.
                    <pub-id pub-id-type="pmid">9380745</pub-id>
                    <pub-id pub-id-type="doi">10.1073/pnas.94.20.10979</pub-id>
                    <pub-id pub-id-type="pmcid">23551</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-10">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Jung</surname>
                            <given-names>TP</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Makeig</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Humphries</surname>
                            <given-names>C</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Removing electroencephalographic artifacts by blind source separation.</article-title>
                    <source>

                        <italic toggle="yes">Psychophysiology.</italic>
</source>
                    <year>2000</year>;<volume>37</volume>(<issue>2</issue>):<fpage>163</fpage>&#x2013;<lpage>78</lpage>.
                    <pub-id pub-id-type="pmid">10731767</pub-id>
                    <pub-id pub-id-type="doi">10.1111/1469-8986.3720163</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-11">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Ille</surname>
                            <given-names>N</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Berg</surname>
                            <given-names>P</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Scherg</surname>
                            <given-names>M</given-names>
                        </name>
</person-group>:
                    <article-title>Artifact correction of the ongoing EEG using spatial filters based on artifact and brain signal topographies.</article-title>
                    <source>

                        <italic toggle="yes">J Clin Neurophysiol.</italic>
</source>
                    <year>2002</year>;<volume>19</volume>(<issue>2</issue>):<fpage>113</fpage>&#x2013;<lpage>24</lpage>. Review.
                    <pub-id pub-id-type="pmid">11997722</pub-id>
                    <pub-id pub-id-type="doi">10.1097/00004691-200203000-00002</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-12">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Delorme</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sejnowski</surname>
                            <given-names>T</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Makeig</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>Enhanced detection of artifacts in EEG data using higher-order statistics and independent component analysis.</article-title>
                    <source>

                        <italic toggle="yes">Neuroimage.</italic>
</source>
                    <year>2007</year>;<volume>34</volume>(<issue>4</issue>):<fpage>1443</fpage>&#x2013;<lpage>9</lpage>.
                    <pub-id pub-id-type="pmid">17188898</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.neuroimage.2006.11.004</pub-id>
                    <pub-id pub-id-type="pmcid">2895624</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Viola</surname>
                            <given-names>FC</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Thorne</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Edmonds</surname>
                            <given-names>B</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Semi-automatic identification of independent components representing EEG artifact.</article-title>
                    <source>

                        <italic toggle="yes">Clin Neurophysiol.</italic>
</source>
                    <year>2009</year>;<volume>120</volume>(<issue>5</issue>):<fpage>868</fpage>&#x2013;<lpage>77</lpage>.
                    <pub-id pub-id-type="pmid">19345611</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.clinph.2009.01.015</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-14">
                <label>14</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Delorme</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Palmer</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Onton</surname>
                            <given-names>J</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Independent EEG sources are dipolar.</article-title>
                    <source>

                        <italic toggle="yes">PLoS One.</italic>
</source>
                    <year>2012</year>;<volume>7</volume>(<issue>2</issue>):<fpage>e30135</fpage>.
                    <pub-id pub-id-type="pmid">22355308</pub-id>
                    <pub-id pub-id-type="doi">10.1371/journal.pone.0030135</pub-id>
                    <pub-id pub-id-type="pmcid">3280242</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-15">
                <label>15</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Urrestarazu</surname>
                            <given-names>E</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Iriarte</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Alegre</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Independent component analysis removing artifacts in ictal recordings.</article-title>
                    <source>

                        <italic toggle="yes">Epilepsia.</italic>
</source>
                    <year>2004</year>;<volume>45</volume>(<issue>9</issue>):<fpage>1071</fpage>&#x2013;<lpage>8</lpage>.
                    <pub-id pub-id-type="pmid">15329072</pub-id>
                    <pub-id pub-id-type="doi">10.1111/j.0013-9580.2004.12104.x</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-16">
                <label>16</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Vergult</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>De Clercq</surname>
                            <given-names>W</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Palmini</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Improving the interpretation of ictal scalp EEG: BSS-CCA algorithm for muscle artifact removal.</article-title>
                    <source>

                        <italic toggle="yes">Epilepsia.</italic>
</source>
                    <year>2007</year>;<volume>48</volume>(<issue>5</issue>):<fpage>950</fpage>&#x2013;<lpage>8</lpage>.
                    <pub-id pub-id-type="pmid">17381439</pub-id>
                    <pub-id pub-id-type="doi">10.1111/j.1528-1167.2007.01031.x</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-17">
                <label>17</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Nierenberg</surname>
                            <given-names>N</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Wilson</surname>
                            <given-names>SB</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Scheuer</surname>
                            <given-names>ML</given-names>
                        </name>
</person-group>:
                    <article-title>Method And System For Detecting And Removing EEG Artifacts</article-title>. U.S. Patent Application No. 13/684,556. Published;<year>2013</year>.
                    <ext-link ext-link-type="uri" xlink:href="http://www.google.com/patents/US20130138356">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-18">
                <label>18</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Strehl</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Ghosh</surname>
                            <given-names>J</given-names>
                        </name>
</person-group>:
                    <article-title>Cluster Ensembles &#x2013; A Knowledge Reuse Framework for Combining Multiple Partitions.</article-title>
                    <source>

                        <italic toggle="yes">J Mach Learn Res.</italic>
</source>
                    <year>2002</year>;<volume>3</volume>:<fpage>583</fpage>&#x2013;<lpage>617</lpage>.
                    <ext-link ext-link-type="uri" xlink:href="http://machinelearning.wustl.edu/mlpapers/paper_files/StrehlG02.pdf">Reference Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-19">
                <label>19</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Raimondo</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kamienkowski</surname>
                            <given-names>JE</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sigman</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>CUDAICA: GPU optimization of Infomax-ICA EEG analysis.</article-title>
                    <source>

                        <italic toggle="yes">Comput Intell Neurosci.</italic>
</source>
                    <year>2012</year>;<volume>2012</volume>: 206972. 1&#x2013;8.
                    <pub-id pub-id-type="pmid">22811699</pub-id>
                    <pub-id pub-id-type="doi">10.1155/2012/206972</pub-id>
                    <pub-id pub-id-type="pmcid">3395116</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-20">
                <label>20</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lee</surname>
                            <given-names>TW</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Girolami</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sejnowski</surname>
                            <given-names>TJ</given-names>
                        </name>
</person-group>:
                    <article-title>Independent component analysis using an extended infomax algorithm for mixed subgaussian and supergaussian sources.</article-title>
                    <source>

                        <italic toggle="yes">Neural Comput.</italic>
</source>
                    <year>1999</year>;<volume>11</volume>(<issue>2</issue>):<fpage>417</fpage>&#x2013;<lpage>441</lpage>.
                    <pub-id pub-id-type="pmid">9950738</pub-id>
                    <pub-id pub-id-type="doi">10.1162/089976699300016719</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref-21">
                <label>21</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>shennanw</surname>
                            <given-names/>
                        </name>
</person-group>:
                    <article-title>shennanw/AR2: AR2 [Data set].</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2017</year>.
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.229893">Data Source</ext-link>
                </mixed-citation>
            </ref>
            <ref id="ref-22">
                <label>22</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Weiss</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>Validity of two automatic artifact reduction software methods in ictal EEG interpretation. Dataset 1 [Data set].</article-title>
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2016</year>.
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.5281/zenodo.221095">Data Source</ext-link>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report20245">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.11390.r20245</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Groppe</surname>
                        <given-names>David M.</given-names>
                    </name>
                    <xref ref-type="aff" rid="r20245a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r20245a1">
                    <label>1</label>Department of Psychology, Toronto, ON, Canada</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>16</day>
                <month>3</month>
                <year>2017</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2017 Groppe DM</copyright-statement>
                <copyright-year>2017</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport20245" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.10569.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>In this manuscript, Weiss and colleagues present a novel algorithm for removing electromyographic (EMG) artifacts from ictal EEG recordings, called AR2. Moreover, they evaluate the performance of the algorithm on data from 8 patients and compare it to a similar commercial algorithm, AR1 (i.e., Persyst v12&#x2019;s artifact correction software), using readings by 26 neurologists. The data chosen were so corrupted by EMG artifacts that they were not interpretable using conventional frequency-based filtering. Both AR1 and AR2 rely on independent components analysis (ICA) to remove EMG artifacts via spatial filters that are learned from the data. There is strong evidence that ICA is effective at removing EMG (and other EEG-artifacts) from data acquired in controlled, research settings[ref1]
                <sup>-</sup>
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-2">2</xref>
                </sup>. However, there may be too many EMG sources in highly polluted ictal recordings for ICA to work.</p>
            <p> </p>
            <p> In general, the authors found that both algorithms (1) made around 50% of the seizures interpretable with typically low levels of rater confidence and (2) produced very low-levels of inter-rater agreement. Nonetheless, when compelling seizure-onset lateralization was available from other sources of data (e.g., PET, SPECT), the algorithms led to EEG interpretations that were in concordance in about 80% of seizures (Table 2). Moreover, AR2 tended to slightly outperform AR1. Specifically, neurologists could interpret more seizures and tended to have more confidence in their interpretations following AR2 artifact correction. However, there was no statistically significant difference in inter-rater agreement between algorithms. The authors conclude from this that their AR2 algorithm &#x201c;may improve the validity of ictal EEG artifact reduction.&#x201d;</p>
            <p> </p>
            <p> In general, I think the authors&#x2019; work is laudable and that it is a valuable contribution to the literature. AR2 is well motivated given the evidence that ICA is successful at removing EMG (and other EEG artifacts) from data acquired in controlled research settings and the approach they have taken to validate their algorithm is generally sound. Moreover it is impressive that all of the seizures were read by a large number of neurologists, (26; although it is not clear how many were board certified in epilepsy or clinical neurophysiology) and that they have made all of their code and data public.</p>
            <p> </p>
            <p> However, there are some significant issues with this work that qualify their findings and should be addressed in revisions or future work:</p>
            <p> </p>
            <p> -As the authors note, the data for this study was obtained from a small number of patients (8, only 5 of whom had lateralized seizure foci based on independent data). Thus, it is not clear how robust some of their findings are (e.g., the small differences between AR1 and AR2 performance).</p>
            <p> -Although AR2 is a fully automatic algorithm, there are some arbitrary parameters of the algorithm (e.g., the mutual information threshold used to include an electrode in the artifact correction procedure) that must have been set based on exploratory analyses. If the data used to set these parameters are the same data used to validate the algorithm, then the authors are surely over-estimating, to some extent, the automatic performance of the algorithm. The authors need to specify what data were used to fix the parameters of AR2.</p>
            <p> -It is important to note that the authors chose extremely contaminated data to evaluate AR1 and AR2 and that these algorithms might be more useful when applied to less contaminated data.</p>
            <p> -If I understand the text correctly, AR2 excludes non-artifact contaminated electrodes from its analysis. You should include these electrodes in the ICA decompositions because they will help capture the neurogenic signal you are trying to preserve.</p>
            <p> -Since ICA necessarily removes some neurogenic signal along with EEG artifacts, it can help to quantify this by applying your algorithm to non-artifact polluted data 
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-2">2</xref>
                </sup>. Adding such an analysis to these findings would help us to understand how and how much AR2 might be distorting EEG seizure activity. Electrodes closest to muscles are likely most affected.</p>
            <p> -For many statistical hypothesis tests the authors provide only p-values. It would be much more informative if the authors provided test statistics (e.g., t-scores, degrees of freedom), named the&#x00a0; type of test (e.g., cumulative logit mixed effect model) and confidence intervals. In particular, confidence intervals will be much better than p-values at communicating how important and robust these effects are 
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-3">3</xref>
                </sup>.</p>
            <p> -Figures 4-5 report p&lt;0.05 for the results of a large number of statistical tests (23 per subfigure) with no correction for multiple comparisons. You should perform some type of correction (e.g., Bonferroni-Holm or Benjamini &amp; Hochberg&#x2019;s false discovery rate control algorithm).</p>
            <p> -To interpret these results, it would greatly help to have inter-reader reliability and reader confidence values for non-artifact contaminated data. Can you get these from the existing literature?</p>
            <p> -I think the primary finding of this work is that neither AR1 nor AR2 provide robust artifact correction when applied to such heavily contaminated data and need to be improved. You should discuss what improvements (if any) you think could be made. For example, using higher-density EEG recordings could greatly help. With more electrodes, ICA&#x2019;s performance should improve (given sufficient training data).</p>
            <p> </p>
            <p> </p>
            <p> In addition to those major points, here are some additional suggestions and points of consideration/clarification:</p>
            <p> </p>
            <p> The abstract should specify the consistency of AR1-derived lateralization with behavioural, neurophysiological, and neuro-radiological findings. Currently, only the consistency with AR2-derived lateralization is reported.</p>
            <p> -[pg 3]: Saying &#x201c;ICA removes artifacts based on source-related features instead of frequencies.&#x201d; is too vague to be informative. You might consider providing more details, such as &#x201c;ICA derives spatial filters that can remove artifacts that have static scalp topographies and time courses of activity that are distinct from that of EEG sources. ICA artifact correction is necessarily imperfect and will remove some neurogenic components of the EEG as well
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-4">4</xref>
                </sup>. However, the degree of EEG distortion may be negligible and ICA has proven effective at removing EMG and ocular artifacts from EEG data recorded from neuronormal individuals in laboratory settings
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-2">2</xref>
                </sup>.&#x201d;</p>
            <p> -The introduction should note why ICA might not be able to correct for EMG-ictal artifact, even though it has proven useful for less artifact-polluted research data. Specifically, it may fail because the number of EEG artifact sources may be much greater in ictal data.</p>
            <p> -You should include the article by De Vos et al. (2011)
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-5">5</xref>
                </sup> in your review of previous algorithms for correcting EEG artifacts in clinical epilepsy data with ICA.</p>
            <p> -You say that EEG readings were provided by &#x201c;26 neurologists with a specialization in EEG.&#x201d; Please specify how many were board certified in epilepsy or clinical neurophysiology.</p>
            <p> -It appears that AR2 is applied to epochs that are not contaminated with EMG (pg 3, bottom left). Why try to correct artifacts that aren&#x2019;t there?</p>
            <p> -Instead of saying &#x201c;independent components of greatest order,&#x201d; I think it is more conventional to say &#x201c;independent components that account for the most variance.&#x201d;</p>
            <p> -Please provide the specifications of the analog filter used to acquire the data.</p>
            <p> It would help to explicitly report the number of data points per electrode fed to ICA. The reliability of ICA is a function of this
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20245-6">6</xref>
                </sup>.</p>
            <p> -It might help to clearly state that the AR1 and AR2 processed data were both read using the same graphical user interface (i.e., Persyst&#x2019;s). It took me a little while to figure this out and it&#x2019;s great that you did this.</p>
            <p> -It would help to add titles to subfigures (if it is permitted by F1000&#x2019;s formatting guidelines).</p>
            <p> -In Figure 1 there is no point to showing both the non-normalized ICA and normalized mixing matrix since the mixing matrix column scale is arbitrary. Just show the normalized mixing matrix. It would also help to view the mixing matrix weights as scalp topographies to see both the quality of the putative neurogenic and EMG ICs.</p>
            <p> -[pg 4] You say &#x201c;Compared to AR1, more readers were able to render seizure-onset laterality assignments using AR2, and these assignments were more often congruent with other clinical data (Table 2).&#x201d; However in Table 2, 82% of the seizures that were lateralizable with AR1 (i.e., 145/177) agree with clinical findings in contrast to 81% of seizures using AR2 (i.e., 171/210). I think percentage of agreement is more important than the number of seizures in agreement.</p>
            <p> -[pg 11] You say &#x201c;Among the 8 patients, if the reader lateralized the seizure-onset to the left using AR2 they were correct in 95.9%&#x2026;.&#x201d;. Do you mean &#x201c;Among the 5 patients&#x201d; with clinical seizure onset lateralization based on independent data?</p>
            <p> -I think your statement &#x201c;With regard to AR2, the novel software method developed for this study, the slight improvement seen in ictal EEG interpretability after applying the method suggests that the algorithm can (1) reliably produce signals that are, exclusively or mainly, EEG or EMG, and (2) identify which signals are of brain origin and which are contaminant.&#x201d; is overly strong. I think &#x201c;sometimes&#x201d; is more accurate than &#x201c;reliably&#x201d; given the low reader confidence and inter-reader agreement.</p>
            <p> -I don&#x2019;t understand your statement &#x201c;One explanation for AR2&#x2019;s ability to isolate myogenic from neurogenic independent components may be that scalp EEG electrodes record weighted and summated far-field signals from all brain and muscle sources, as well as near-field electrode noise generated at the electrode/skin interface.&#x201d; ICA can separate myogenic from neurogenic activity because they have distinct scalp topographies and largely independent time courses of activity.</p>
            <p> -It is fantastic that you have made both AR2&#x2019;s code and your data publicly available. However, there is not enough documentation on your GitHub repo for me to be able to easily understand how to use it (what is scalp_input_matrix.mat?). A little bit more documentation would greatly help.</p>
            <p>Reviewer Expertise:</p>
            <p>NA</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-20245-1">
                    <label>1</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Removing electroencephalographic artifacts by blind source separation.</article-title>
                        <source>
                            <italic>Psychophysiology</italic>
                        </source>.<year>2000</year>;<volume>37</volume>(<issue>2</issue>) :<fpage>163</fpage>-<lpage>78</lpage>
                        <pub-id pub-id-type="pmid">10731767</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-20245-2">
                    <label>2</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>ADJUST: An automatic EEG artifact detector based on the joint use of spatial and temporal features.</article-title>
                        <source>
                            <italic>Psychophysiology</italic>
                        </source>.<year>2011</year>;<volume>48</volume>(<issue>2</issue>) :
                        <elocation-id>10.1111/j.1469-8986.2010.01061.x</elocation-id>
                        <fpage>229</fpage>-<lpage>40</lpage>
                        <pub-id pub-id-type="pmid">20636297</pub-id>
                        <pub-id pub-id-type="doi">10.1111/j.1469-8986.2010.01061.x</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-20245-3">
                    <label>3</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Combating the scientific decline effect with confidence (intervals).</article-title>
                        <source>
                            <italic>Psychophysiology</italic>
                        </source>.<year>2017</year>;<volume>54</volume>(<issue>1</issue>) :
                        <elocation-id>10.1111/psyp.12616</elocation-id>
                        <fpage>139</fpage>-<lpage>145</lpage>
                        <pub-id pub-id-type="pmid">28000255</pub-id>
                        <pub-id pub-id-type="doi">10.1111/psyp.12616</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-20245-4">
                    <label>4</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Independent component analysis of event-related potentials</article-title>.
                        <source>
                            <italic>Cognitive Science Online</italic>
                        </source>.<year>2008</year>;<volume>6</volume>(<issue>1</issue>) :<fpage>11</fpage>-<lpage>44</lpage>
                        <ext-link ext-link-type="uri" xlink:href="http://cogsci-online.ucsd.edu/6/6-1.pdf.">Reference source</ext-link>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-20245-5">
                    <label>5</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Automated artifact removal as preprocessing refines neonatal seizure detection.</article-title>
                        <source>
                            <italic>Clin Neurophysiol</italic>
                        </source>.<year>2011</year>;<volume>122</volume>(<issue>12</issue>) :
                        <elocation-id>10.1016/j.clinph.2011.04.026</elocation-id>
                        <fpage>2345</fpage>-<lpage>54</lpage>
                        <pub-id pub-id-type="pmid">21705269</pub-id>
                        <pub-id pub-id-type="doi">10.1016/j.clinph.2011.04.026</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-20245-6">
                    <label>6</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Identifying reliable independent components via split-half comparisons.</article-title>
                        <source>
                            <italic>Neuroimage</italic>
                        </source>.<year>2009</year>;<volume>45</volume>(<issue>4</issue>) :
                        <elocation-id>10.1016/j.neuroimage.2008.12.038</elocation-id>
                        <fpage>1199</fpage>-<lpage>211</lpage>
                        <pub-id pub-id-type="pmid">19162199</pub-id>
                        <pub-id pub-id-type="doi">10.1016/j.neuroimage.2008.12.038</pub-id>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
        <sub-article article-type="response" id="comment2593-20245">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Weiss</surname>
                            <given-names>Shennan</given-names>
                        </name>
                        <aff>Thomas Jefferson University</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>none.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>28</day>
                    <month>3</month>
                    <year>2017</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Dr. David Groppe,</p>
                <p> We are grateful for your insightful and thoughtful comments and suggestions. Appended below are answers to your inquiries, and changes we have made to the manuscript.</p>
                <p> -As the authors note, the data for this study was obtained from a small number of patients (8, only 5 of whom had lateralized seizure foci based on independent data). Thus, it is not clear how robust some of their findings are (e.g., the small differences between AR1 and AR2 performance).</p>
                <p> -- The authors agree that this study is underpowered. Our findings are exploratory at best.</p>
                <p> </p>
                <p> -Although AR2 is a fully automatic algorithm, there are some arbitrary parameters of the algorithm (e.g., the mutual information threshold used to include an electrode in the artifact correction procedure) that must have been set based on exploratory analyses. If the data used to set these parameters are the same data used to validate the algorithm, then the authors are surely over-estimating, to some extent, the automatic performance of the algorithm. The authors need to specify what data were used to fix the parameters of AR2.</p>
                <p> -- You are correct that we used the experimental dataset to define the threshold values and thus we are likely over-estimating the performance of the algorithm. We clarify on (pg.3) and (pg.4) that the thresholds were defined using visual inspection of the experimental dataset in the revised manuscript.</p>
                <p> </p>
                <p> -It is important to note that the authors chose extremely contaminated data to evaluate AR1 and AR2 and that these algorithms might be more useful when applied to less contaminated data.</p>
                <p> -- On (pg.2) we now specify &#x201c;Ictal scalp EEG recordings present extraordinary challenges to ICA artifact reduction algorithms because the number of EMG artifact sources increases.&#x201d;</p>
                <p> </p>
                <p> -If I understand the text correctly, AR2 excludes non-artifact contaminated electrodes from its analysis. You should include these electrodes in the ICA decompositions because they will help capture the neurogenic signal you are trying to preserve.</p>
                <p> -- We apologize for the lack of clarity. We only excluded electrodes that had suspected increases in impedance. We specify on (pg.3) &#x201c;Prior to performing ICA to remove muscle artifact, the algorithm first identified epochs of the scalp EEG record contaminated by muscle artifact and determined the electrodes that were suspected of having high recording impedance during that epoch. The purpose of these calculations was to exclude these electrodes from the ICA calculations.&#x201d;</p>
                <p> </p>
                <p> -Since ICA necessarily removes some neurogenic signal along with EEG artifacts, it can help to quantify this by applying your algorithm to non-artifact polluted data&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-2">
                        <sup>2</sup>
                    </ext-link>. Adding such an analysis to these findings would help us to understand how and how much AR2 might be distorting EEG seizure activity. Electrodes closest to muscles are likely most affected.</p>
                <p> -- We agree that this analysis would be helpful and should be a focus of future study. Unfortunately, the EEG reviewers who participated in this study are not available to review non-ictal scalp EEG recordings.</p>
                <p> </p>
                <p> -For many statistical hypothesis tests the authors provide only p-values. It would be much more informative if the authors provided test statistics (e.g., t-scores, degrees of freedom), named the&#x00a0; type of test (e.g., cumulative logit mixed effect model) and confidence intervals. In particular, confidence intervals will be much better than p-values at communicating how important and robust these effects are&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-3">
                        <sup>3</sup>
                    </ext-link>.</p>
                <p> -- As you suggested we now provide t-scores, degrees of freedom, and have named the type of the test in the results. We provide confidence intervals for the cumulative logit mixed effects models results, and the correlation with other clinical data. S.E.M values are provided for the other comparisons in the figures included in the manuscript. The authors are in agreement the confidence intervals are essential to convey effect size
                    <sup>3</sup>&#x00a0;</p>
                <p> </p>
                <p> -Figures 4-5 report p&lt;0.05 for the results of a large number of statistical tests (23 per subfigure) with no correction for multiple comparisons. You should perform some type of correction (e.g., Bonferroni-Holm or Benjamini &amp; Hochberg&#x2019;s false discovery rate control algorithm).</p>
                <p> -- We have used your Matlab code to perform the Bonferroni-Holm correction on the p values obtained for the individual seizures. The results have been revised accordingly (see methods, statistical analysis).</p>
                <p> </p>
                <p> -To interpret these results, it would greatly help to have inter-reader reliability and reader confidence values for non-artifact contaminated data. Can you get these from the existing literature?</p>
                <p> -- We agree and the following sentence has been added to the discussion (pg. 13): The reliability of localization by ictal scalp EEG in the absence of artifact is between 65-75% for lateralization
                    <sup>26</sup>.</p>
                <p> </p>
                <p> -I think the primary finding of this work is that neither AR1 nor AR2 provide robust artifact correction when applied to such heavily contaminated data and need to be improved. You should discuss what improvements (if any) you think could be made. For example, using higher-density EEG recordings could greatly help. With more electrodes, ICA&#x2019;s performance should improve (given sufficient training data).</p>
                <p> </p>
                <p> </p>
                <p> -- Thank you for this helpful suggestion, we have added the following sentence to the discussion (pg. 13): The effectiveness of AR2 could possibly be improved by utilizing autocorrelations to identify the myogenic independent components. We hope that this method can be optimized for 10/20 standard scalp EEG.</p>
                <p> </p>
                <p> In addition to those major points, here are some additional suggestions and points of consideration/clarification:</p>
                <p> </p>
                <p> The abstract should specify the consistency of AR1-derived lateralization with behavioural, neurophysiological, and neuro-radiological findings. Currently, only the consistency with AR2-derived lateralization is reported.</p>
                <p> -- We have provided the results for AR1 in the abstract as you suggested.</p>
                <p> </p>
                <p> </p>
                <p> -[pg 3]: Saying &#x201c;ICA removes artifacts based on source-related features instead of frequencies.&#x201d; is too vague to be informative. You might consider providing more details, such as &#x201c;ICA derives spatial filters that can remove artifacts that have static scalp topographies and time courses of activity that are distinct from that of EEG sources. ICA artifact correction is necessarily imperfect and will remove some neurogenic components of the EEG as well
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-4">
                        <sup>4</sup>
                    </ext-link>. However, the degree of EEG distortion may be negligible and ICA has proven effective at removing EMG and ocular artifacts from EEG data recorded from neuronormal individuals in laboratory settings
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-2">
                        <sup>2</sup>
                    </ext-link>.&#x201d;</p>
                <p> -- Thank you for your suggestion we have made these verbatim changes to the introduction (pg. 2)</p>
                <p> </p>
                <p> </p>
                <p> -The introduction should note why ICA might not be able to correct for EMG-ictal artifact, even though it has proven useful for less artifact-polluted research data. Specifically, it may fail because the number of EEG artifact sources may be much greater in ictal data.</p>
                <p> </p>
                <p> </p>
                <p> -- We have addressed this issue as mentioned in a prior comment to you.</p>
                <p> -You should include the article by De Vos et al. (2011)
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-5">
                        <sup>5</sup>
                    </ext-link>&#x00a0;in your review of previous algorithms for correcting EEG artifacts in clinical epilepsy data with ICA.</p>
                <p> </p>
                <p> </p>
                <p> -- done as suggested</p>
                <p> -You say that EEG readings were provided by &#x201c;26 neurologists with a specialization in EEG.&#x201d; Please specify how many were board certified in epilepsy or clinical neurophysiology.</p>
                <p> </p>
                <p> </p>
                <p> -- 20 of the readers were board certified as now specified on (pg.4.)</p>
                <p> -It appears that AR2 is applied to epochs that are not contaminated with EMG (pg 3, bottom left). Why try to correct artifacts that aren&#x2019;t there?</p>
                <p> </p>
                <p> </p>
                <p> -- As specified in the methods we performed the ICA on 120 second trials irrespective of the beginning and end of the ictal EMG artifact. We used this approach in order to allow the algorithm to function in an automated and unsupervised manner.</p>
                <p> -Instead of saying &#x201c;independent components of greatest order,&#x201d; I think it is more conventional to say &#x201c;independent components that account for the most variance.&#x201d;</p>
                <p> </p>
                <p> </p>
                <p> -- We have made this modification as you suggested (pg. 3)</p>
                <p> -Please provide the specifications of the analog filter used to acquire the data. It would help to explicitly report the number of data points per electrode fed to ICA. The reliability of ICA is a function of this
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20245-6">
                        <sup>6</sup>
                    </ext-link>.</p>
                <p> </p>
                <p> </p>
                <p> -- We now specify 24,000 data points in the methods (pg.4)</p>
                <p> -It might help to clearly state that the AR1 and AR2 processed data were both read using the same graphical user interface (i.e., Persyst&#x2019;s). It took me a little while to figure this out and it&#x2019;s great that you did this.</p>
                <p> </p>
                <p> </p>
                <p> -- We have modified the methods as follows (pg. 5): The AR1 and AR2 processed data were reviewed in Persyst v12 without video by 26 neurologists with a specialization in EEG, 20 of whom were board certified.</p>
                <p> -It would help to add titles to subfigures (if it is permitted by F1000&#x2019;s formatting guidelines).</p>
                <p> </p>
                <p> </p>
                <p> -- As far as I know this is not possible.</p>
                <p> -In Figure 1 there is no point to showing both the non-normalized ICA and normalized mixing matrix since the mixing matrix column scale is arbitrary. Just show the normalized mixing matrix. It would also help to view the mixing matrix weights as scalp topographies to see both the quality of the putative neurogenic and EMG ICs.</p>
                <p> </p>
                <p> </p>
                <p> -- We have changed the figure as you suggested and modified the legend.</p>
                <p> -[pg 4] You say &#x201c;Compared to AR1, more readers were able to render seizure-onset laterality assignments using AR2, and these assignments were more often congruent with other clinical data (Table 2).&#x201d; However in Table 2, 82% of the seizures that were lateralizable with AR1 (i.e., 145/177) agree with clinical findings in contrast to 81% of seizures using AR2 (i.e., 171/210). I think percentage of agreement is more important than the number of seizures in agreement.</p>
                <p> </p>
                <p> </p>
                <p> -- Thank you for this insightful point. The numbers do not refer to the number of seizures in agreement but rather to the number of observations i.e. assignments made that agreed with the laterality defined by other clinical data. Thus, more readers were able to render observations that agreed with other clinical data using AR2 as compared to AR1. However, as you point out the percentage of readers that made rendered a laterality decision that did not agree with the other clinical data using AR2 was comparable to AR1.</p>
                <p> -[pg 11] You say &#x201c;Among the 8 patients, if the reader lateralized the seizure-onset to the left using AR2 they were correct in 95.9%&#x2026;.&#x201d;. Do you mean &#x201c;Among the 5 patients&#x201d; with clinical seizure onset lateralization based on independent data?</p>
                <p> </p>
                <p> </p>
                <p> -- You are correct and we apologize for the lack of clarity. We have modified the results as follows (pg. 12): Among the 5 patients with clinical seizure onset lateralization based on independent data, &#x2026;</p>
                <p> -I think your statement &#x201c;With regard to AR2, the novel software method developed for this study, the slight improvement seen in ictal EEG interpretability after applying the method suggests that the algorithm can (1) reliably produce signals that are, exclusively or mainly, EEG or EMG, and (2) identify which signals are of brain origin and which are contaminant.&#x201d; is overly strong. I think &#x201c;sometimes&#x201d; is more accurate than &#x201c;reliably&#x201d; given the low reader confidence and inter-reader agreement.</p>
                <p> </p>
                <p> </p>
                <p> -- We agree and have modified the sentence as you suggested (pg.13).</p>
                <p> -I don&#x2019;t understand your statement &#x201c;One explanation for AR2&#x2019;s ability to isolate myogenic from neurogenic independent components may be that scalp EEG electrodes record weighted and summated far-field signals from all brain and muscle sources, as well as near-field electrode noise generated at the electrode/skin interface.&#x201d; ICA can separate myogenic from neurogenic activity because they have distinct scalp topographies and largely independent time courses of activity.</p>
                <p> </p>
                <p> </p>
                <p> -- Thank you for pointing out that this sentence lacks clarity. We have modified this paragraph as follows (pg.13): One explanation for AR2&#x2019;s ability to isolate myogenic from neurogenic activity may be related to the respective dipole generators of each. ICA produces independent components that may resemble single equivalent dipoles
                    <sup>14</sup>. Presumably, networks of myocytes exhibit shorter distance connectivity then networks of neurons that produce beta and gamma oscillations, and thus the two generators can be distinguished on the basis of the focality
                    <sup>17</sup> of the independent components topography. &#x00a0;</p>
                <p> -It is fantastic that you have made both AR2&#x2019;s code and your data publicly available. However, there is not enough documentation on your GitHub repo for me to be able to easily understand how to use it (what is scalp_input_matrix.mat?). A little bit more documentation would greatly help.&#x00a0;</p>
                <p> </p>
                <p> </p>
                <p> -- We are in the process of improving the documentation of AR2 on GitHub thank you for reviewing the source code.</p>
                <p> </p>
                <p> 
                    <bold>References</bold>
                </p>
                <p> 1. Jung TP, Makeig S, Humphries C, Lee TW, McKeown MJ, Iragui V, Sejnowski TJ: Removing electroencephalographic artifacts by blind source separation.
                    <italic>Psychophysiology</italic>. 2000;&#x00a0;
                    <bold>37</bold>&#x00a0;(2): 163-78&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/10731767">PubMed Abstract</ext-link>
                </p>
                <p> 2. Mognon A, Jovicich J, Bruzzone L, Buiatti M: ADJUST: An automatic EEG artifact detector based on the joint use of spatial and temporal features.
                    <italic>Psychophysiology</italic>. 2011;&#x00a0;
                    <bold>48</bold>&#x00a0;(2): 229-40&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/20636297">PubMed Abstract</ext-link>&#x00a0;|&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1111/j.1469-8986.2010.01061.x">Publisher Full Text</ext-link>&#x00a0;</p>
                <p> 3. Groppe DM: Combating the scientific decline effect with confidence (intervals).
                    <italic>Psychophysiology</italic>. 2017;&#x00a0;
                    <bold>54</bold>&#x00a0;(1): 139-145&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/28000255">PubMed Abstract</ext-link>&#x00a0;|&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1111/psyp.12616">Publisher Full Text</ext-link>&#x00a0;</p>
                <p> 4. Groppe DM, Makeig S, Kutas M: Independent component analysis of event-related potentials.&#x00a0;
                    <italic>Cognitive Science Online</italic>. 2008;&#x00a0;
                    <bold>6</bold>&#x00a0;(1): 11-44&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://cogsci-online.ucsd.edu/6/6-1.pdf.">Reference Source</ext-link>&#x00a0;</p>
                <p> 5. De Vos M, Deburchgraeve W, Cherian PJ, Matic V, Swarte RM, Govaert P, Visser GH, Van Huffel S: Automated artifact removal as preprocessing refines neonatal seizure detection.
                    <italic>Clin Neurophysiol</italic>. 2011;&#x00a0;
                    <bold>122</bold>&#x00a0;(12): 2345-54&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/21705269">PubMed Abstract</ext-link>&#x00a0;|&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.clinph.2011.04.026">Publisher Full Text</ext-link>&#x00a0;</p>
                <p> 6. Groppe DM, Makeig S, Kutas M: Identifying reliable independent components via split-half comparisons.
                    <italic>Neuroimage</italic>. 2009;&#x00a0;
                    <bold>45</bold>&#x00a0;(4): 1199-211&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/19162199">PubMed Abstract</ext-link>&#x00a0;|&#x00a0;
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.neuroimage.2008.12.038">Publisher Full Text</ext-link>
                </p>
            </body>
        </sub-article>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report20461">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.11390.r20461</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Figueiredo</surname>
                        <given-names>Patr&#x00ed;cia</given-names>
                    </name>
                    <xref ref-type="aff" rid="r20461a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-0743-0869</uri>
                </contrib>
                <contrib contrib-type="author">
                    <name>
                        <surname>Abreu</surname>
                        <given-names>Rodolfo</given-names>
                    </name>
                    <xref ref-type="aff" rid="r20461a1">1</xref>
                    <role>Co-referee</role>
                </contrib>
                <aff id="r20461a1">
                    <label>1</label>Institute for Systems and Robotics and Department of Bioengineering, Instituto Superior T&#x00e9;cnico University of Lisbon, Lisbon, Portugal</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>22</day>
                <month>2</month>
                <year>2017</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2017 Figueiredo P and Abreu R</copyright-statement>
                <copyright-year>2017</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport20461" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.10569.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>
                <underline>Referee report</underline>
            </p>
            <p> The manuscript needs careful revision by a native English speaker within the scientific community. Although I feel that the performance measures used by the authors are adequate, and that a substantial number of EEG specialists quantified them, the overall results are poor, particularly in terms of the specialists&#x2019; confidence in their assessment. It would be therefore useful to compare the performance with additional methods, for instance, as to understand the behavior of the proposed performance measures across a larger set of methods.</p>
            <p> </p>
            <p> Specific Comments</p>
            <p> </p>
            <p> 
                <bold>Title:</bold>
            </p>
            <p> </p>
            <p> 1. The title should mention that this novel method specifically addresses EEG artifacts induced by myogenic activity.</p>
            <p> </p>
            <p> 
                <bold>Abstract:</bold>
            </p>
            <p> </p>
            <p> 2. (Results) The authors should include the consistency value also for AR1.</p>
            <p> </p>
            <p> 
                <bold>Introduction:</bold>
            </p>
            <p> </p>
            <p> 3. (page 3, first paragraph) &#x201c;
                <italic>Each of these tests adds undesired time and cost to the evaluation</italic>&#x201d;. I would say that the necessity of using additional imaging techniques depends on how precise one wants seizure-onset zone delineation to be, as scalp EEG has a poor spatial resolution and localization power. Please elaborate and/or re-phrase the sentence accordingly.</p>
            <p> 4. (page 3, second paragraph) &#x201c;
                <italic>ICA removes artifacts based on source-related features instead of frequencies&#x201d;</italic>. What do Authors mean with &#x201c;source-related features&#x201d;? Actually, there are several studies that use frequency-based criteria for the selection and subsequent removal of artifact-related sources&#x2026;Please explain.</p>
            <p> 5. (page 3, second paragraph) Please add more recent reviews/papers on the automatic IC selection for EEG cleaning, such as: 
                <italic>Chaumon, M., Bishop, D.V.M., Busch, N. a., 2015. A Practical Guide to the Selection of Independent Components of the Electroencephalogram for Artifact Correction. J. Neurosci. Methods. </italic>or 
                <italic>Urig&#x00fc;en, J.A., Garcia-Zapirain, B., 2015. EEG artifact removal&#x2014;state-of-the-art and guidelines. J. Neural Eng. 12, 31001</italic>.
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-20461-1">1</xref>
                </sup>
            </p>
            <p> 6. (page 3, fourth paragraph) Authors refer to AR1 as a commercially available software, and in fact, detailed information about it is provided in reference [17]. However, the Authors should provide a brief description of the method because: 1) it is the only method which they compare their novel one with; and 2) so that future readers do not need to go through [17] in order to understand the overall rationale of AR1.</p>
            <p> </p>
            <p> 
                <bold>Methods:</bold>
            </p>
            <p> </p>
            <p> 7. (page 3, 
                <italic>
                    <underline>Implementation</underline>
                </italic>, first paragraph) 
                <italic>&#x201c;(&#x2026;) a power spectral density algorithm to find extended intervals of elevated high frequency power across electrodes&#x201d;</italic>. The Authors provide no information about how this algorithm works, nor references; thus, it is presently not possible to reproduce this part of the study.</p>
            <p> 8. (page 3, 
                <italic>
                    <underline>Implementation</underline>
                </italic>, first paragraph) The Authors need to justify their choices in general; particularly, why only compute the adjacency matrix between the epoch of greatest duration across all electrodes? Why compute the adjacency matrix in the first place, and not any other discriminative feature for the presence of muscle artifacts? Why only assign the maximum pairwise MI value in the adjacency matrix to a given electrode and ignore all the rest? How was the MI threshold determined?</p>
            <p> 9. (page 3, 
                <italic>
                    <underline>Implementation</underline>
                </italic>, second paragraph) Again, the Authors need to provide more details overall. Why segment EEG into consecutive epochs of 120 s? How exactly was the variance threshold derived? Also, I did not understand why should be there any order associated with myogenic and neurogenic components (&#x201c;
                <italic>We assumed that the last myogenic component and first neurogenic component (&#x2026;)&#x201d;</italic>).</p>
            <p> 10. (page 3, 
                <italic>
                    <underline>Implementation</underline>
                </italic>, second paragraph) I understand that one of the expected features of ICs reflecting muscle artifacts is having a focal spatial topography; however, bad channels are also reflected in ICs exhibiting this feature. Thus, I have severe concerns about false positives when using this criterion, as other myogenic-unrelated ICs are probably being selected as well, which may hinder a true assessment of the impact of muscle artifact correction.</p>
            <p> 11. (page 3, 
                <italic>
                    <underline>Implementation</underline>
                </italic>, third paragraph) What does reconstitute mean in this context?</p>
            <p> 12. (page 4, 
                <italic>
                    <underline>Statistical analysis</underline>
                </italic>) Since the performance of AR1 and AR2 is being assessed by 4 different performance measures obtained from 26 EEG specialists, it would be more accurate to use a 2-way repeated measures ANOVA (or its non-parametric equivalent, in the case of the samples not being normally distributed), followed by multiple comparison testing if necessary.</p>
            <p> </p>
            <p> 
                <bold>Results:</bold>
            </p>
            <p> </p>
            <p> 13. The first three figures have very poor quality. In particular, it is nearly impossible to follow the overall (quite detailed) description of Figure 2 (and it is panel A
                <sub>1</sub> on the top, left hand-side, and not A
                <sub>2</sub>). Also, the three panels in Figure 3 should be overlaid to facilitate the direct comparison between the two algorithms.</p>
            <p> 14. Although AR2 outperforms AR1 for most of the performance measures, the results are still poor, making me wonder if either of these methods is suitable for EEG muscle artifact correction.</p>
            <p> Discussion</p>
            <p> 15. (page 12, first paragraph) What do the Authors mean with &#x201c;
                <italic>One concern about AR1 and AR2 relates to the lack of understanding of the waveform alteration&#x201d;</italic>?</p>
            <p> 16. (page 12, fourth paragraph) &#x201c;
                <italic>(&#x2026;) (1) reliably produce signals that are, exclusively or mainly, EEG or MEG (&#x2026;)&#x201d;</italic>. Please clarify and elaborate on this claim.</p>
            <p>Reviewer Expertise:</p>
            <p>NA</p>
            <p>We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however we have significant reservations, as outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-20461-1">
                    <label>1</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>A practical guide to the selection of independent components of the electroencephalogram for artifact correction.</article-title>
                        <source>
                            <italic>J Neurosci Methods</italic>
                        </source>.<year>2015</year>;<volume>250</volume>:
                        <elocation-id>10.1016/j.jneumeth.2015.02.025</elocation-id>
                        <fpage>47</fpage>-<lpage>63</lpage>
                        <pub-id pub-id-type="pmid">25791012</pub-id>
                        <pub-id pub-id-type="doi">10.1016/j.jneumeth.2015.02.025</pub-id>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
        <sub-article article-type="response" id="comment2594-20461">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Weiss</surname>
                            <given-names>Shennan</given-names>
                        </name>
                        <aff>Thomas Jefferson University</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>none.</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>28</day>
                    <month>3</month>
                    <year>2017</year>
                </pub-date>
            </front-stub>
            <body>
                <p>Dear Dr. Figueiredo and Dr. Abreu,</p>
                <p> </p>
                <p> Thank you very much for your thoughtful and helpful comments and suggestions. We have substantially revised the manuscript according to your feedback as follows:</p>
                <p> </p>
                <p> 1. The title should mention that this novel method specifically addresses EEG artifacts induced by myogenic activity.</p>
                <p> </p>
                <p> </p>
                <p> -- The title of the paper has been modified to &#x201c;AR2, a novel automatic muscle artifact reduction software method for ictal EEG interpretation: Validation and comparison of performance with commercially available software&#x201d;</p>
                <p> </p>
                <p> 
                    <bold>Abstract:</bold>
                </p>
                <p> </p>
                <p> 2. (Results) The authors should include the consistency value also for AR1.</p>
                <p> </p>
                <p> </p>
                <p> -- As you suggested we have added the consistency values for AR1 to the abstract.</p>
                <p> </p>
                <p> 
                    <bold>Introduction:</bold>
                </p>
                <p> </p>
                <p> 3. (page 3, first paragraph) &#x201c;
                    <italic>Each of these tests adds undesired time and cost to the evaluation</italic>&#x201d;. I would say that the necessity of using additional imaging techniques depends on how precise one wants seizure-onset zone delineation to be, as scalp EEG has a poor spatial resolution and localization power. Please elaborate and/or re-phrase the sentence accordingly.</p>
                <p> </p>
                <p> </p>
                <p> -- We have modified the introduction as follows (pg. 3): The inability, or lack of precision, to discern the seizure-onset zone from scalp EEG often necessitates additional testing, &#x2026;</p>
                <p> 4. (page 3, second paragraph) &#x201c;
                    <italic>ICA removes artifacts based on source-related features instead of frequencies&#x201d;</italic>. What do Authors mean with &#x201c;source-related features&#x201d;? Actually, there are several studies that use frequency-based criteria for the selection and subsequent removal of artifact-related sources&#x2026;Please explain.</p>
                <p> -- Thank you for this instructive feedback. We have modified the introduction as follows (pg.3): ICA derives spatial features that can remove artifacts that have static scalp topographies and time courses of activity that are distinct from that of EEG sources.</p>
                <p> 5. (page 3, second paragraph) Please add more recent reviews/papers on the automatic IC selection for EEG cleaning, such as: 
                    <italic>Chaumon, M., Bishop, D.V.M., Busch, N. a., 2015. A Practical Guide to the Selection of Independent Components of the Electroencephalogram for Artifact Correction. J. Neurosci. Methods. </italic>or 
                    <italic>Urig&#x00fc;en, J.A., Garcia-Zapirain, B., 2015. EEG artifact removal&#x2014;state-of-the-art and guidelines. J. Neural Eng. 12, 31001</italic>.
                    <ext-link ext-link-type="uri" xlink:href="https://f1000research.com/articles/6-30/v1#rep-ref-20461-1">
                        <sup>1</sup>
                    </ext-link>
                </p>
                <p> -- Thank you for suggesting the inclusion of this important methods article. We now cite this article in the introduction and discussion.</p>
                <p> </p>
                <p> 6. (page 3, fourth paragraph) Authors refer to AR1 as a commercially available software, and in fact, detailed information about it is provided in reference [17]. However, the Authors should provide a brief description of the method because: 1) it is the only method which they compare their novel one with; and 2) so that future readers do not need to go through [17] in order to understand the overall rationale of AR1.</p>
                <p> </p>
                <p> </p>
                <p> -- Although the complete methods for AR1 are not included in reference 17 we have modified the introduction as follows (pg.3): The goal of this study was to assess the validity of a commercially available EEG artifact reduction tool (AR1) that uses different montages and within electrode analysis to identify artefactual independent components
                    <sup>20</sup>, and compare its validity to a novel automatic artifact reduction tool (AR2)&#x2026;</p>
                <p> </p>
                <p> 
                    <bold>Methods:</bold>
                </p>
                <p> </p>
                <p> 7. (page 3, 
                    <italic>
                        <underline>Implementation</underline>
                    </italic>, first paragraph) 
                    <italic>&#x201c;(&#x2026;) a power spectral density algorithm to find extended intervals of elevated high frequency power across electrodes&#x201d;</italic>. The Authors provide no information about how this algorithm works, nor references; thus, it is presently not possible to reproduce this part of the study.</p>
                <p> </p>
                <p> 8. (page 3, 
                    <italic>
                        <underline>Implementation</underline>
                    </italic>, first paragraph) The Authors need to justify their choices in general; particularly, why only compute the adjacency matrix between the epoch of greatest duration across all electrodes? Why compute the adjacency matrix in the first place, and not any other discriminative feature for the presence of muscle artifacts? Why only assign the maximum pairwise MI value in the adjacency matrix to a given electrode and ignore all the rest? How was the MI threshold determined?</p>
                <p> </p>
                <p> </p>
                <p> -- We agree with your comments #7 and #8. We now specify in the methods that the reason we performed this analysis was (pg.3): &#x201c;Prior to performing ICA to remove muscle artifact, the algorithm first identified epochs of the scalp EEG record contaminated by muscle artifact and determined the electrodes that were suspected of having high recording impedance during that epoch. The purpose of these calculations was to exclude these electrodes from the ICA calculations.&#x201d;</p>
                <p> The method used to determine the artifact epoch had actually been modified prior to submission of version 1 of the manuscript. We now better describe this algorithm as &#x201c;We then calculated the normalized instantaneous amplitude of the band-pass filtered signal using a Hilbert transform. This signal was smoothed using moving averaging, and the algorithm identified the longest epoch in which the time series remained greater than one standard deviation.&#x201d;</p>
                <p> 9. (page 3, 
                    <italic>
                        <underline>Implementation</underline>
                    </italic>, second paragraph) Again, the Authors need to provide more details overall. Why segment EEG into consecutive epochs of 120 s? How exactly was the variance threshold derived? Also, I did not understand why should be there any order associated with myogenic and neurogenic components (&#x201c;
                    <italic>We assumed that the last myogenic component and first neurogenic component (&#x2026;)&#x201d;</italic>).</p>
                <p> -- We agree with your comment and apologize for the lack of clarity. We now specify that (pg.4): A 120 second trial length was chosen to optimize processing time.</p>
                <p> In addition, the method have been modified as follows (pg. 4): &#x201c;We assumed that the last myogenic component and first neurogenic component can be differentiated on the basis of the inverse weight matrix, which provides the spatial distribution of each component, and identifying the independent component that account for the most variance with a focal spatial topography
                    <sup>17</sup> defined on the basis of exceeding a normalized threshold of two standard deviations in at least one electrode of the inverse weight matrix. This threshold was chosen on the basis of visual inspection of the EEG in the experimental dataset and resulting independent components.&#x201d;</p>
                <p> 10. (page 3, 
                    <italic>
                        <underline>Implementation</underline>
                    </italic>, second paragraph) I understand that one of the expected features of ICs reflecting muscle artifacts is having a focal spatial topography; however, bad channels are also reflected in ICs exhibiting this feature. Thus, I have severe concerns about false positives when using this criterion, as other myogenic-unrelated ICs are probably being selected as well, which may hinder a true assessment of the impact of muscle artifact correction.</p>
                <p> -- We agree with your concerns however in the algorithm we already excluded bad channels using the algorithm described with reference to comments #7 and #8.</p>
                <p> </p>
                <p> 11. (page 3, 
                    <italic>
                        <underline>Implementation</underline>
                    </italic>, third paragraph) What does reconstitute mean in this context?</p>
                <p> </p>
                <p> </p>
                <p> -- We now specify in implementation (pg.4) that: the resulting low pass filtered EEG was reconstituted by addition of the waveforms with the high pass (&gt;16 Hz) filtered EEG</p>
                <p> </p>
                <p> 12. (page 4, 
                    <italic>
                        <underline>Statistical analysis</underline>
                    </italic>) Since the performance of AR1 and AR2 is being assessed by 4 different performance measures obtained from 26 EEG specialists, it would be more accurate to use a 2-way repeated measures ANOVA (or its non-parametric equivalent, in the case of the samples not being normally distributed), followed by multiple comparison testing if necessary.</p>
                <p> </p>
                <p> </p>
                <p> -- We appreciate this helpful feedback. Dr. David Groppe the other reviewer of the manuscript suggested that we use paired t-tests and provide the t-value in order to convey effect size to the reader. We have followed his recommendations. Including both 2-way repeated measures ANOVA and paired t-tests would confuse the reader.&#x00a0;</p>
                <p> </p>
                <p> 
                    <bold>Results:</bold>
                </p>
                <p> </p>
                <p> 13. The first three figures have very poor quality. In particular, it is nearly impossible to follow the overall (quite detailed) description of Figure 2 (and it is panel A
                    <sub>1</sub> on the top, left hand-side, and not A
                    <sub>2</sub>). Also, the three panels in Figure 3 should be overlaid to facilitate the direct comparison between the two algorithms.</p>
                <p> --</p>
                <p> a) We have made grammatical changes to figure 2, and corrected the figure A1 vs. A2 labeling. We apologize for this oversight.</p>
                <p> b) We attempted to overlay the panels of figure 3 but the result was confusing and not visually appealing. Therefore, we cannot provide this suggested change.</p>
                <p> </p>
                <p> 14. Although AR2 outperforms AR1 for most of the performance measures, the results are still poor, making me wonder if either of these methods is suitable for EEG muscle artifact correction.</p>
                <p> </p>
                <p> </p>
                <p> -- We agree and point out in the discussion that the readers were not confident in their interpretations using either AR1 or AR2 in the discussion (pg. 13).</p>
                <p> Discussion</p>
                <p> 15. (page 12, first paragraph) What do the Authors mean with &#x201c;
                    <italic>One concern about AR1 and AR2 relates to the lack of understanding of the waveform alteration&#x201d;</italic>?</p>
                <p> -- This sentence has been modified to provide more clarity (pg.13): &#x201c;One concern about AR1 and AR2 relates to the uncertainty that myogenic activity was fully removed, and neurogenic components were unaffected during waveform alteration.&#x201d;</p>
                <p> </p>
                <p> 16. (page 12, fourth paragraph) &#x201c;
                    <italic>(&#x2026;) (1) reliably produce signals that are, exclusively or mainly, EEG or MEG (&#x2026;)&#x201d;</italic>. Please clarify and elaborate on this claim.</p>
                <p> </p>
                <p> </p>
                <p> -- We agree with your comment that this sentence is unclear. This paragraph has been modified in the revision and now reads as follows: &#x201c;One explanation for AR2&#x2019;s ability to isolate myogenic from neurogenic activity may be related to the respective dipole generators of each. ICA produces independent components that may resemble single equivalent dipoles
                    <sup>14</sup>. Presumably, networks of myocytes exhibit shorter distance connectivity then networks of neurons that produce beta and gamma oscillations, and thus the two generators can be distinguished on the basis of the focality
                    <sup>17</sup> of the independent components topography.&#x201d; &#x00a0;</p>
                <p> </p>
                <p> 
                    <bold>References</bold>
                </p>
                <p> 1. Chaumon M, Bishop DV, Busch NA: A practical guide to the selection of independent components of the electroencephalogram for artifact correction.
                    <italic>J Neurosci Methods</italic>. 2015; 
                    <bold>250</bold>: 47-63 
                    <ext-link ext-link-type="uri" xlink:href="http://www.ncbi.nlm.nih.gov/pubmed/25791012">PubMed Abstract</ext-link> | 
                    <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1016/j.jneumeth.2015.02.025">Publisher Full Text</ext-link>
                </p>
            </body>
        </sub-article>
    </sub-article>
</article>
