Data from: Selective activation of nerve fiber subpopulations with intrafascicular stimulation
Data files
Sep 17, 2026 version files 5.71 MB
-
AUC_Bipolar.xlsx
30.10 KB
-
AUC_Monopolar.xlsx
70.39 KB
-
Data_BSvsMS.xlsx
1.67 MB
-
Data.xlsx
3.91 MB
-
Pearson_r_AllComparisons.csv
13.01 KB
-
Pearson_r_SummaryTable.csv
1.06 KB
-
README.md
14.76 KB
Abstract
Objective: Peripheral nerve stimulation (PNS) is most effective when specific nerve fiber subpopulations are activated, while minimizing off-target activation, which may cause undesirable side effects. This selectivity depends primarily on electrode design and charge delivery, but it remains unclear how selectivity depends on electrode location within a fascicle and whether intrafascicular field steering can shape recruitment of different nerve fibers. Our objective was to test the hypothesis that selective PNS could be achieved through electrode placement and intrafascicular electric field steering using Longitudinal Intrafascicular Electrodes (LIFEs). Approach: LIFEs were implanted into the tibial fascicle of the sciatic nerve of 17 anesthetized adult rats. We tested whether electrodes positioned at different cross-sectional and longitudinal locations within the same fascicle, together with different electric field-steering approaches, produced distinct activation patterns in the gastrocnemius lateralis muscle. Muscle responses were measured using high-density epimysial electromyography (HD-eEMG). Main Results: Electrodes placed at different locations within the same fascicle activated distinct muscle regions, demonstrating intrafascicular selectivity. Bipolar stimulation recruited nerve fibers differently than monopolar stimulation, showing that electric field steering can further shape the selective recruitment. In both configurations, increasing the stimulation amplitude produced a graded increase in muscle activation. Furthermore, our findings demonstrated that HD-eEMG is an effective tool for evaluating intrafascicular selectivity. Significance: These findings suggest that improving on-target selectivity may support next-generation bioelectronic therapies with better outcomes and fewer side effects, potentially enabling more precise, organ-specific neuromodulation. Using multiple intrafascicular electrodes may provide two complementary strategies for enhancing selectivity: strategic intrafascicular placement to access different fiber subpopulations and bipolar configurations to steer recruitment beyond what a single electrode can achieve.
Dataset DOI: 10.5061/dryad.rbnzs7hth
Date of deposit: 2026-05-21
Last updated: 2026-08-13
Dataset Overview
This dataset contains electromyographic (EMG) recordings and derived spatial distribution metrics from rat subjects undergoing intraneural electrical stimulation via longitudinal intrafascicular electrodes (LIFEs). Data support analyses of the effects of stimulation amplitude and electrode configuration (monopolar vs. bipolar) on EMG amplitude and spatial distribution of muscle activation, as reported in the associated manuscript. This deposit also includes a pairwise spatial correlation analysis (Pearson r) quantifying the degree of overlap between activation patterns elicited by different LIFEs implanted within the same fascicle, added in response to peer review.
File List and Descriptions
File 1: Data.xlsx
Primary EMG dataset for the electrode placement analysis (monopolar stimulation). Contains trial-level EMG amplitude (peak and RMS) and impedance measurements across stimulation amplitudes, electrodes, and recording EMG channels. Used in Model 1 (see Statistical Analysis - Method section).
- Dimensions: 35,595 rows x 15 columns
- Notes: Stimulation amplitude (xTH) was mean-centered for analysis.
File 2: Data_BSvsMS.xlsx
EMG dataset for the monopolar vs. bipolar stimulation comparison. Contains a subset of subjects for which both stimulation types were recorded, with trial-level EMG amplitude across stimulation amplitudes, electrodes, and EMG channels. Used in Model 3 (see Statistical Analysis - Method section).
- Dimensions: 16,641 rows x 13 columns
- Notes: Stimulation amplitude (xTH) was mean-centered for analysis. Stimulation type (Type_Stim) was releveled to bipolar stimulation (BS) as the reference category.
File 3: AUC_Bipolar.xlsx
Area under the curve (AUC) values derived from EMG spatial distribution profiles for the bipolar vs. monopolar comparison. Includes both MS and BS trials. Used in Model 4 (see Statistical Analysis - Method section).
- Dimensions: 257 rows x 7 columns
- Notes: AUC was computed from interpolated EMG recruitment profiles in MATLAB prior to deposit. Only rats with both MS and BS sessions were retained for analysis.
File 4: AUC_Monopolar.xlsx
Area under the curve (AUC) values derived from EMG spatial distribution profiles for the electrode placement analysis (monopolar stimulation only). Used in Model 2 (see Statistical Analysis - Method section).
- Dimensions: 1,023 rows x 6 columns
- Notes: AUC was computed from interpolated EMG recruitment profiles in MATLAB.
File 5: Pearson_r_AllComparisons.csv
Pairwise spatial correlation (Pearson r) between electrode-specific EMG activation patterns for monopolar stimulation. Contains one row per electrode pair per stimulation level, computed by comparing normalized RMS amplitude across all 26 EMG channels between two electrodes implanted within the same fascicle. Supports the pairwise spatial correlation analysis (Section 3.2.6, see manuscript).
- Dimensions: 464 rows x 5 columns
- Notes: Each electrode's normalized RMS values were interpolated onto a common xTH grid (0.1 increments) prior to comparison. Interpolation was performed within each electrode's own tested amplitude range; for grid points falling just outside that range (within 0.15xTH), the nearest real measured value was used rather than a linearly extrapolated value. Comparisons at a given stimulation level were excluded only if, for both electrodes, every channel's RMS value fell below 5% of that electrode's own maximum RMS (assessed near 1.6xTH); comparisons in which only one electrode met this criterion were retained. Two EMG channels in one rat were excluded from all calculations after being identified as producing values inconsistent with genuine muscle activation.
File 6: Pearson_r_SummaryTable.csv
Summary statistics of the pairwise correlation values in File 6, aggregated across all electrode pairs at each stimulation level (median, mean, standard deviation, and counts of low/intermediate/high correlation comparisons). Supports Table 3 and the corresponding figure in the manuscript (Section 3.2.6).
- Dimensions: 16 rows x 8 columns
- Notes: Derived directly from File 6; no additional filtering applied beyond that described in File 6. Low, intermediate, and high spatial correlation categories are defined as r<0.5, 0.5-0.7, and r>0.7, respectively (see manuscript, Section 2.7.6).
Variable Descriptions
File 1: Data.xlsx
| Variable name | Units / Format | Description |
|---|---|---|
| Rat_ID | Integer | Unique animal identifier |
| Date | YYYY-MM-DD | Date of recording session |
| Electrode | Integer | Electrode number; two-digit values indicate bipolar configurations, excluded from monopolar analysis |
| Type_Stim | Categorical | Stimulation type (0 = Monopolar Stimulation, 1 = Bipolar Stimulation) |
| Ampl (uA) | Microamperes (uA) | Delivered stimulation amplitude |
| xrheo | Dimensionless | Stimulation amplitude normalized to rheobase |
| xTH | Dimensionless | Stimulation amplitude normalized to threshold (used in all models) |
| Channel | Integer | EMG recording channel identifier (1-26; treated as factor in models) |
| Peak_Ampl | mV | Raw peak EMG amplitude |
| Peak_Ampl_Norm | Dimensionless | Peak EMG amplitude normalized to maximum response at that stimulation level across all 26 EMG channels |
| RMS | mV | Root mean square of EMG signal (primary outcome variable) |
| RMS_Norm | Dimensionless | RMS normalized to maximum response at that stimulation level across all 26 EMG channels |
| Final_Elec | Integer | Final electrode identifier across all rats |
| Impedance | kOhm | Electrode impedance at time of recording |
| Focal_Ch | Integer | Channel with highest EMG amplitude (focal activation channel) |
File 2: Data_BSvsMS.xlsx
| Variable name | Units / Format | Description |
|---|---|---|
| Rat_ID | Integer | Unique animal identifier |
| Date | YYYY-MM-DD | Date of recording session |
| Electrode | Integer | Electrode number |
| Type_Stim | Categorical | Stimulation type (0 = Monopolar Stimulation 1, 2 = Monopolar Stimulation 2, 3 = Bipolar Stimulation) |
| Type | Categorical | Stimulation subtype label (BS, MS1, MS2) |
| Ampl (uA) | Microamperes (uA) | Delivered stimulation amplitude |
| xrheo | Dimensionless | Stimulation amplitude normalized to rheobase |
| xTH | Dimensionless | Stimulation amplitude normalized to threshold |
| Channel | Integer | EMG recording channel identifier (1-26; treated as factor in models) |
| Peak_Ampl | mV | Raw peak EMG amplitude |
| Peak_Ampl_Norm | Dimensionless | Peak EMG amplitude normalized to maximum response at that stimulation level across all 26 EMG channels |
| RMS | mV | Root mean square of EMG signal (primary outcome variable) |
| RMS_Norm | Dimensionless | RMS normalized to maximum response at that stimulation level across all 26 EMG channels |
File 3: AUC_Bipolar.xlsx
| Variable name | Units / Format | Description |
|---|---|---|
| Rat_ID | Integer | Unique animal identifier |
| xTH | Dimensionless | Stimulation amplitude normalized to threshold at which AUC was computed |
| Elec | Integer | Electrode identifier across all rats |
| AUC | mV | Area under the EMG recruitment curve across recording channels (computed in MATLAB) |
| AUC_Percentage | Percent (%) | AUC expressed as percentage of maximum possible AUC |
| Type | Categorical | Stimulation type (MS = monopolar, BS = bipolar) |
| Type2 | Categorical | Stimulation subtype with finer resolution (MS1, MS2, BS12) |
File 4: AUC_Monopolar.xlsx
| Variable name | Units / Format | Description |
|---|---|---|
| Rat_ID | Integer | Unique animal identifier |
| xTH | Dimensionless | Stimulation amplitude normalized to threshold at which AUC was computed |
| Elec | Integer | Electrode identifier across all rats |
| AUC | mV | Area under the EMG recruitment curve across recording channels (computed in MATLAB) |
| AUC_Percentage | Percent (%) | AUC expressed as percentage of maximum possible AUC |
| Type | Categorical | Stimulation type (MS = monopolar, BS = bipolar) |
File 5: Pearson_r_AllComparisons.csv
| Variable name | Units / Format | Description |
|---|---|---|
| Rat_ID | Integer | Unique animal identifier |
| xTH | Dimensionless | Stimulation amplitude normalized to threshold, on the common interpolation grid shared across electrodes within a rat |
| Elec_A | Integer | Electrode number (within-rat) for the first electrode in the pair |
| Elec_B | Integer | Electrode number (within-rat) for the second electrode in the pair |
| pearson_r | Dimensionless | Pearson correlation coefficient between the normalized RMS activation profiles of Elec_A and Elec_B, computed across all 26 EMG channels at this stimulation level |
File 6: Pearson_r_SummaryTable.csv
| Variable name | Units / Format | Description |
|---|---|---|
| xTH | Dimensionless | Stimulation amplitude normalized to threshold |
| n | Integer | Number of valid electrode-pair comparisons at this stimulation level |
| median_r | Dimensionless | Median Pearson r across all comparisons at this stimulation level |
| mean_r | Dimensionless | Mean Pearson r across all comparisons at this stimulation level |
| sd_r | Dimensionless | Standard deviation of Pearson r across all comparisons at this stimulation level |
| n_low | Integer | Number of comparisons with r < 0.5 (low spatial correlation) |
| n_mid | Integer | Number of comparisons with 0.5 <= r <= 0.7 (intermediate spatial correlation) |
| n_high | Integer | Number of comparisons with r > 0.7 (high spatial correlation) |
Missing Data
Missing values are coded as: NA or blank.
Missing values reflect trials where EMG recordings were absent or excluded due to signal artifact, noise, or electrode failure. No imputation was performed; na.action = na.exclude was used in all mixed-effects models. For Files 6 and 7, a missing (blank) pearson_r value indicates a comparison that was not computed, either due to insufficient valid channel data or exclusion per the 5% response criterion described above.
Data Processing
Monopolar EMG recordings were spatially filtered to decrease the detection volume and isolate the electrical activity of the underlying muscle, as described by Gallina et al. (29) (Figure 1c). A single-differential spatial filter was applied along the direction of the muscle fibers (i.e., the columns) by subtracting each channel from its immediately adjacent channel in the column direction (i.e., Channel (r,c) = Channel (r,c) – Channel(r+1,c), where r denotes the row and c denotes the column). The resulting 26 channels of spatially filtered data were then filtered in the frequency domain using a fourth-order Butterworth bandpass filter with cut-off frequencies of 10 and 1000 Hz. Data from two HD-eEMG channels in one rat were excluded from the analysis because their signals were dominated by recording noise and did not exhibit physiologically meaningful variation.
For each stimulation level, a stimulus-triggered average (STA) of eEMG was calculated for each HD-eEMG channel to construct M-wave responses. To characterize these responses, the root mean square (RMS) amplitude of each STA M-wave was computed across a 16-ms window, beginning with the onset of the evoked response.
To evaluate the spatial distribution of eEMG amplitude (rather than the magnitude) across the electrode grid, we normalized STA RMS values for all eEMG channels for a given electrode configuration and stimulation level to the highest of those RMS values. Spatial heatmaps of stimulation-evoked M-wave amplitude were constructed from the normalized RMS values for data visualization (Figure 1c). Next, eEMG channels were sorted in descending order of their normalized RMS values, which were then plotted against the sorted channel numbers. This created an amplitude rank profile for each stimulation level and electrode configuration for each rat that illustrated the distribution spread of RMS values among the channels. The area under the curve (AUC) for each amplitude profile was calculated using trapezoidal numerical integration (MATLAB, trapz).
The AUC metric was chosen over alternative metrics such as spatial entropy or localization indices as the primary measure of spatial selectivity. It provides a single, continuous index of how concentrated or distributed muscle activation is across the array. Lower AUC values indicate that eEMG amplitude was concentrated among few channels, reflecting greater selectivity, compared with higher AUC values. Higher AUC values indicate that eEMG amplitude was more evenly distributed across channels, reflecting less selectivity. Because AUC quantifies the degree of spatial concentration but not the anatomical location of activation, we used two complementary analyses to capture additional information about the spatial activation, identifying the location of peak activation, which was presented in histograms, and calculating pairwise spatial correlations (Pearson r) between electrode pairs implanted within the same fascicle to assess overlap in muscle activation patterns across LIFEs.
Statistical Analyses
All statistical analyses were conducted using R (version 4.5.0, R Core Team, 2024), with statistical significance set at ⍺ ≤ 0.05. Linear mixed-effects regression models with fixed and random effects detailed below were employed to address our research questions. These models were implemented using the lme4 package utilizing Restricted Maximum Likelihood Estimation. Where applicable, post hoc comparisons were performed using estimated marginal means calculated with the emmeans package, with adjustments for multiple comparisons (Tukey or Dunnett). Model assumptions, including linearity and normality of residuals, were evaluated to ensure the validity of model fitting. The model equations are presented in R syntax rather than in standard linear mixed model notation. Prior to fitting the statistical model, stimulation level values were mean-centered to facilitate interpretation of the regression coefficients. By including mean-centered stimulation level, the model intercept represented the eEMG amplitude response at the mean stimulation level, rather than at a stimulation level of zero.
Effect of stimulation level on eEMG amplitude
To determine the effect of monopolar stimulation amplitude level on eEMG RMS amplitude across channels, we constructed a linear mixed-effects model with fixed effects of Stimulation Amplitudec (mean-centered), EMG Channel, and the Stimulation Amplitudec-by-EMG Channel interaction. To fully account for statistical dependencies in the data due to its hierarchical structure, we included random intercepts for Rat, Channel nested within Rat, and LIFE nested within Rat, with a random slope for Stimulation Amplitudec by LIFE nested within Rat.
(Model 1): RMS ~ 1 + StimAmplitudec*Channel + (1│Rat)+ (1│Rat:Channel)+ (1+StimAmplitudec |Rat:LIFE)
Effect of stimulation from different LIFEs on eEMG amplitude
To evaluate the effect of monopolar stimulation delivered by different LIFEs at different stimulation levels, the model from the previous section (the effect of Stimulation Amplitudec-by-EMG Channel on eEMG RMS amplitude) was used again. Our experimental design precluded inclusion of LIFE as a fixed effect, given that LIFE placement was not anatomically standardized across animals (i.e., LIFE #1 in one rat was not implanted at a location equivalent to LIFE #1 in another rat). Therefore, we examined the influence of different LIFEs by comparing the model variances due to LIFE, Stimulation Amplitudec, Rat, and Channel in relation to the global average RMS amplitude. To do so, we extracted the corresponding variances of the random intercepts and slope. This allowed us to evaluate which factor caused the most variation in eEMG amplitude (i.e., using different LIFEs, using different stimulation amplitudes, recording from different channels, or recording from different rats).
Effect of stimulation level on the spatial distribution of eEMG amplitude
To determine the effect of stimulation level on the spatial distribution of eEMG (quantified as AUC of the eEMG amplitude profiles, we constructed a linear mixed effects model with fixed effects of Stimulation Amplitudec, random intercepts of Rat and LIFE nested within Rat, and** a** random slope of Stimulation Amplitudec by LIFE nested within Rat. After visualizing the AUC data vs. stimulation level, we also included polynomial terms in the model, with fixed effects of Stimulation Amplitudec2 and Stimulation Amplitudec3 and random slopes of the polynomial terms by LIFE nested within Rat.
(Model 2): AUC ~ 1 + StimAmplitudec + StimAmplitudec^2 ^+ StimAmplitudec^3 ^+ (1│Rat) +(1+StimAmplitudec+StimAmplitudec2+StimAmplitudec3│Rat:LIFE)).
We also examined whether the shape and variability of the ranked amplitude profiles changed with stimulation level. At each stimulation level, we ensemble averaged the ranked amplitude profiles from all LIFEs and rats. We characterized the shapes of the resulting average profiles using polynomial regression and examining the coefficients across stimulation levels. The average amplitude profile for each stimulation level was fitted to a cubic polynomial using least squares in the following form:
RMSNorm (x)=β_0+β1x+β2x0+β3x3
where β0 is the intercept term, β1-β3 are the coefficients of the polynomial curve, and is the rank of the channel (e.g. 1st, 2nd… rather than the channel number).
To examine the inter-animal variability of the ranked amplitude profiles at each stimulation level, we ensemble averaged the amplitude profiles from all LIFEs for each rat and stimulation level. We then calculated the standard deviation of the mean profile across all sorted channels. This resulted in a standard deviation profile by sorted channel, the AUC of the standard deviation profile (trapz, MATLAB), and a calculated mean standard deviation among channels.
Effect of stimulation type on eEMG amplitude
To evaluate the effect of stimulation type (monopolar or bipolar) on eEMG RMS amplitude across channels and at different stimulation levels, we constructed a linear mixed effects model with fixed effects of Stimulation Type, Stimulation Amplitudec, EMG Channel, and their three-way interaction.
To fully account for statistical dependencies within the data, we included random intercepts for Stimulation Type nested within Rat, Channel nested within Rat, and a random slope for Stimulation Amplitudec by Stimulation Type nested within Rat. A random intercept of Rat was included initially but then removed because it accounted for zero variance and created a model singularity.
(Model 3):RMS ~ 1+ StimTypeChannelStimulation Amplitudec+(1│Rat:Channel)+(1+Stimulation Amplitudec│Rat:StimType)
Effect of stimulation type on eEMG spatial distribution
We modeled stimulation type as having three levels: bipolar stimulation with two LIFEs, monopolar stimulation with one of the two LIFEs (labeled MS1), and monopolar stimulation with the other of the two LIFEs (labeled MS2). To determine whether spatial distribution of the eEMG (quantified as the AUC of the eEMG amplitude profiles), differed among these three stimulation configurations and stimulations levels, We constructed a linear mixed effects model with fixed main effects of Stimulation Type, Stimulation Amplitudec, and their** two-way** interaction. We included a random intercept for Rat and a random slope for Stimulation Amplitudec by Stimulation Type nested within Rat. To be consistent with Model 2 above, we also included polynomial terms in the model, with fixed effects of Stimulation Amplitudec2 and Stimulation Amplitudec3 and random slopes of the polynomial terms by Stimulation Type nested within Rat.
(Model 4): AUC ~ 1 + StimTypeStimulation Amplitudec+ StimTypeStimulation Amplitudec2+Stim TypeStimulation Amplitudec3+(1│Rat)+(1+Stimulation Amplitudec+Stimulation Amplitudec2+Stimulation Amplitudec3│Rat:StimType).*
Effect of stimulation level on the HD-eEMG channel with the highest eEMG amplitude
For each stimulation level, the channel with the highest RMS value for each LIFE was identified, and the number of occurrences per channel was counted to build histograms and perform the analyses. Analyses were performed separately for the two types of stimulation (monopolar and bipolar) at each stimulation level.
Effect of electrode placement and stimulation level on spatial correlation of eEMG activity elicited by LIFEs.
To quantify overlap between muscle activation patterns produced by different LIFEs, pairwise spatial correlation (Pearson r) was calculated between electrode pairs within the same fascicle at the same stimulation level. Because stimulation levels did not align exactly across LIFEs, normalized RMS values for each channel were interpolated onto a common set of stimulation levels (xTH), restricted to each LIFE’s tested range without extrapolation.
The normalized RMS response at each of the 26 HD-eEMG channels elicited by each electrode in the pair were compared on a channel-by-channel basis (i.e., for Rat “5”, Channel 1 of LIFE 1 with Channel 1 of LIFE 2 at 1.2xTH) and a single Pearson correlation coefficient was computed across all 26 paired values, resulting in one correlation coefficient per electrode pair per stimulation level. This was repeated across all stimulation levels to assess whether spatial activation patterns between electrode pairs varied with amplitude. Comparisons at a given stimulation level were excluded if, for both LIFEs, every EMG Channel’s RMS value fell below 5%of that LIFE’s own maximum RMS, to avoid computing correlations on signals that were predominantly noise.
