Anti-Seizure Medications Alter Functional and Effective Connectivity as Measured With Intracranial Electroencephalography.
The 13 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › CCEP Parameters: N1, N2, and RMS ↔ CCEP_offon_RMS.m, lines 182–259 · score 0.89 · 85–250 ms, 10–300 ms, 10–30 ms, 85 ms, RMS, N1
- [2] § Methods › Calculating Functional Connectivity and Graph Theoretical Measures ↔ Figure5.m, lines 1–57 · score 0.85 · Global efficiency, Small worldness, Clustering coefficient, local efficiency, modularity, metrics
- [3] § Methods › Statistical Analyses on Effective and Functional Connectivity ↔ CCEP_offon_RMS_multi_v2.m, lines 143–206 · score 0.78 · stim rec pairs, linear regression, fitting, family, metrics, model
- [4] § Methods › Calculating Functional Connectivity and Graph Theoretical Measures ↔ Pipeline_RestingState.m, lines 12–86 · score 0.75 · bandpass filter, 0.1–1 Hz, cycles, transform, phase, power
- [5] § Results › Effects of ASMs on Graph Theoretical Measures ↔ Figure5.m, lines 1–57 · score 0.75 · global efficiency, small worldness, clustering coefficient, local efficiency, modularity, strength
- [6] § Methods › CCEP Parameters: N1, N2, and RMS ↔ ccep_N1N2.m, the whole file · a weak match · score 0.75 · 10–30 ms, N2 responses, findpeak, 85 ms, 250 ms, N1
- [7] § Results › Effects of ASMs on CCEPs ↔ CCEP_offon_collect_drectns_perm.m, lines 248–286 · score 0.69 · FDR correction, N1 latency, N2 latency, N1 amplitude, N2 amplitude, CCEPs
- [8] § Results › Effects of ASMs on CCEPs ↔ CCEP_offon_collect.m, lines 52–192 · score 0.63 · N1 latency, N2 latency, N1 amplitude, N2 amplitude, recording channel, peaks
- [9] § Results › Effects of ASMs on CCEPs ↔ CCEP_offon_RMS_multi_v2.m, lines 143–206 · score 0.58 · linear regression, ASM state, patient ID, variables, RMS, 50 ms
- [10] § Results › Effects of ASMs on Functional Connectivity ↔ Pipeline_RestingState.m, lines 12–86 · score 0.58 · 0.1–1 Hz, slow fluctuations, iEEG, 0.1 Hz, electrodes
- [11] § Results › Effects of ASMs on CCEPs ↔ CCEP_offon_RMS_multi_v2.m, lines 208–263 · score 0.55 · 10–300 ms, Stimulated channels, recording channels, box, RMS, 10 ms
- [12] § Methods › Statistical Analyses on Effective and Functional Connectivity ↔ CCEP_offon_collect_drectns_perm.m, lines 1–18 · score 0.52 · Benjamini Hochberg, FDR, permutation, epileptogenic, EPZ, N1
- [13] § Methods › sEEG Data Acquisition and Preprocessing ↔ CCEP_processing.m, the whole file · a weak match · score 0.51 · FieldTrip, preprocessed, poststimulation, baseline, zero, CCEP
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 389 lines · 16 KB · GPL-3.0 · 3 matches
- function CCEP_offon_RMS_multi_v2(Sbj_Metadatas)
- % CCEP_offon_RMS_multi_v2: Linear regression to compare RMS between ASM-ON vs ASM-OFF
- % analyzing connectivity between stimulated and recorded regions
- %
- % Model per stim-rec pair: RMS ~ ASM_State + PatientID (main effects only)
- % Tests ASM effect on connectivity for each stim-rec combination
- % Family-wise Bonferroni correction across all 48 comparisons (16 cells × 3 metrics)
- %
- % Output: 4×4 heatmaps showing p-values (columns=stim, rows=rec)
- % v2: updated to analyze the data with linear regression
- % Initialize data collection structures
- for_crisscross = {'SOZ','EPZ','IZ','Healthy'};
- % Cell arrays to store data for each stim-rec pair
- % Dimensions: [4 stim types, 4 rec types]
- rms_data_stim_rec = cell(4, 4);
- rms_n1_data_stim_rec = cell(4, 4);
- rms_n2_data_stim_rec = cell(4, 4);
- patient_id_stim_rec = cell(4, 4);
- % Initialize cells
- for i1 = 1:4
- for i2 = 1:4
- rms_data_stim_rec{i1, i2} = [];
- rms_n1_data_stim_rec{i1, i2} = [];
- rms_n2_data_stim_rec{i1, i2} = [];
- patient_id_stim_rec{i1, i2} = {};
- end
- end
- %% Start the loop for subject metadata
- for s = 1:length(Sbj_Metadatas)
- Sbj_Metadata = Sbj_Metadatas{s};
- sbj_ID = Sbj_Metadata.sbj_ID;
- AllBlockInfo = readtable(fullfile(Sbj_Metadata.project_root,[Sbj_Metadata.project_name '_BlockInfo.xlsx']));
- offblocks = find(strcmp(AllBlockInfo.sbj_ID,sbj_ID) & strcmp(AllBlockInfo.task_type,'offmed'));
- onblocks = find(strcmp(AllBlockInfo.sbj_ID,sbj_ID) & strcmp(AllBlockInfo.task_type,'onmed'));
- offmed_block = AllBlockInfo.BlockList{offblocks(1)};
- onmed_block = AllBlockInfo.BlockList{onblocks(1)};
- %% Find analyzed channel pairs
- fileList = dir(fullfile(Sbj_Metadata.results,'off_on_peaks','peak_info_*.mat'));
- analyzed_chans = cellfun(@(x) erase(x, {'peak_info_','.mat'}), {fileList.name}', 'UniformOutput', false);
- %% Get good bipolar channels
- ref = 'bp';
- off_ccep = load(fullfile(Sbj_Metadata.iEEG_data,offmed_block, 'CCEPdir', [offmed_block '_ccep_' ref '_' analyzed_chans{1} '.mat']));
- bp_chans = off_ccep.CCEPs.label;
- clear off_ccep
- % Find non-artefactual channels in bipolar data
- off_info = load(fullfile(Sbj_Metadata.iEEG_data, offmed_block, [offmed_block '_info.mat']));
- on_info = load(fullfile(Sbj_Metadata.iEEG_data, onmed_block, [onmed_block '_info.mat']));
- bp_good_chans_off = get_info_goodchans_bp(off_info.info, bp_chans);
- bp_good_chans_on = get_info_goodchans_bp(on_info.info, bp_chans);
- bp_good_chans = bp_good_chans_off(ismember(bp_good_chans_off, bp_good_chans_on));
- %% Get channel characters for stimulation pairs
- importance = {'SOZ','EPZ','IZ','Healthy'};
- % Find character of each pair of analyzed (stimulated) electrodes
- events_chans = strcat(off_info.info.events.StimCh1,repmat({'-'},[length(off_info.info.events.StimCh1),1]),off_info.info.events.StimCh2);
- analyzed_chans_character = cell([length(analyzed_chans),1]);
- for c = 1:length(analyzed_chans_character)
- xxx=find(ismember(events_chans,analyzed_chans{c}));
- analyzed_chans_character(c) = off_info.info.events.elec_type(xxx(1));
- end
- analyzed_chans_split = strsplit_SA(analyzed_chans);
- %% Loop through each analyzed stim channel pair
- corrSheet = readtable(Sbj_Metadata.labelfile);
- for c = 1:length(analyzed_chans)
- % Load peak info for this stim pair
- load(fullfile(Sbj_Metadata.results,'off_on_peaks',['peak_info_' analyzed_chans{c} '.mat']),'peak_info')
- % Remove bad channels
- peak_info = peak_info(ismember(peak_info.label, bp_good_chans), :);
- % Remove stimulation channels themselves
- peak_info_spl = strsplit_SA(peak_info.label);
- peak_info = peak_info(~any(ismember(peak_info_spl, analyzed_chans_split(c,:)), 2), :);
- peak_info_spl = strsplit_SA(peak_info.label);
- % remove non-gray channels
- peakinfo_chan_WMvsGM = assign_classes(peak_info_spl(:,1), peak_info_spl(:,2), corrSheet.Label, lower(corrSheet.WMvsGM),{'gray','white','csf','skull'});
- peak_info = peak_info(~strcmp(peakinfo_chan_WMvsGM,'gray'),:);
- peak_info_spl = strsplit_SA(peak_info.label);
- % Get recording channel classes
- peakinfo_chan_classes = assign_classes(peak_info_spl(:,1), peak_info_spl(:,2), ...
- off_info.info.channelinfo.Label, off_info.info.channelinfo.chan_info, importance);
- % Extract RMS values (off and on states)
- rms_off = peak_info.off_rms;
- rms_on = peak_info.on_rms;
- rms_n1_off = peak_info.off_rmsN1;
- rms_n1_on = peak_info.on_rmsN1;
- rms_n2_off = peak_info.off_rmsN2;
- rms_n2_on = peak_info.on_rmsN2;
- % Get stimulation channel class index
- stim_chan_class_idx = find(strcmp(for_crisscross, analyzed_chans_character{c}));
- % For each recording channel class, accumulate data
- for rec_class_idx = 1:4
- rec_class = for_crisscross{rec_class_idx};
- % Find indices of recording channels in this class
- rec_idx = strcmp(peakinfo_chan_classes, rec_class);
- if sum(rec_idx) > 0
- % Combine OFF and ON data
- rms_combined = [rms_off(rec_idx); rms_on(rec_idx)];
- rms_n1_combined = [rms_n1_off(rec_idx); rms_n1_on(rec_idx)];
- rms_n2_combined = [rms_n2_off(rec_idx); rms_n2_on(rec_idx)];
- % ASM state indicator (0=off, 1=on)
- n_off = sum(rec_idx);
- n_on = sum(rec_idx);
- asm_state = [zeros(n_off, 1); ones(n_on, 1)];
- % Patient ID
- patient_ids = [repmat({sbj_ID}, n_off, 1); repmat({sbj_ID}, n_on, 1)];
- % Store in cell array
- rms_data_stim_rec{stim_chan_class_idx, rec_class_idx} = [rms_data_stim_rec{stim_chan_class_idx, rec_class_idx}; rms_combined];
- rms_n1_data_stim_rec{stim_chan_class_idx, rec_class_idx} = [rms_n1_data_stim_rec{stim_chan_class_idx, rec_class_idx}; rms_n1_combined];
- rms_n2_data_stim_rec{stim_chan_class_idx, rec_class_idx} = [rms_n2_data_stim_rec{stim_chan_class_idx, rec_class_idx}; rms_n2_combined];
- patient_id_stim_rec{stim_chan_class_idx, rec_class_idx} = [patient_id_stim_rec{stim_chan_class_idx, rec_class_idx}; patient_ids];
- end
- end
- end
- end
- %% Fit linear regression for each stim-rec pair and extract p-values
- fprintf('\n========== LINEAR REGRESSION RESULTS PER STIM-REC PAIR ==========\n');
- fprintf('Model: RMS ~ ASM_State + PatientID (main effects only)\n');
- fprintf('Family-wise Bonferroni correction: α = 0.05 / 48 = %.6f\n\n', 0.05/48);
- % Initialize p-value matrices for each metric
- pval_rms_matrix = nan(4, 4);
- pval_rms_n1_matrix = nan(4, 4);
- pval_rms_n2_matrix = nan(4, 4);
- % Store model results
- models_rms = cell(4, 4);
- models_rms_n1 = cell(4, 4);
- models_rms_n2 = cell(4, 4);
- % Alpha for family-wise correction
- alpha_fam = 0.05 / 48;
- for stim_idx = 1:4
- for rec_idx = 1:4
- % Get data for this stim-rec pair
- rms_data = cell2mat(rms_data_stim_rec{stim_idx, rec_idx});rms_data_stim_rec{stim_idx, rec_idx}=rms_data;
- rms_n1_data = cell2mat(rms_n1_data_stim_rec{stim_idx, rec_idx});rms_n1_data_stim_rec{stim_idx, rec_idx}=rms_n1_data;
- rms_n2_data = cell2mat(rms_n2_data_stim_rec{stim_idx, rec_idx});rms_n2_data_stim_rec{stim_idx, rec_idx}=rms_n2_data;
- patient_ids = patient_id_stim_rec{stim_idx, rec_idx};
- % Only fit model if we have data
- if ~isempty(rms_data)
- % Create ASM state vector (0=off, 1=on)
- n_data = length(rms_data);
- asm_state = [zeros(n_data/2, 1); ones(n_data/2, 1)];
- % Create tables for regression
- tbl_rms = table(categorical(asm_state), categorical(patient_ids), rms_data, ...
- 'VariableNames', {'ASM_State', 'PatientID', 'RMS'});
- tbl_rms_n1 = table(categorical(asm_state), categorical(patient_ids), rms_n1_data, ...
- 'VariableNames', {'ASM_State', 'PatientID', 'RMS_N1'});
- tbl_rms_n2 = table(categorical(asm_state), categorical(patient_ids), rms_n2_data, ...
- 'VariableNames', {'ASM_State', 'PatientID', 'RMS_N2'});
- % Fit models
- try
- mdl_rms = fitlm(tbl_rms, 'RMS ~ ASM_State + PatientID');
- mdl_rms_n1 = fitlm(tbl_rms_n1, 'RMS_N1 ~ ASM_State + PatientID');
- mdl_rms_n2 = fitlm(tbl_rms_n2, 'RMS_N2 ~ ASM_State + PatientID');
- % Store models
- models_rms{stim_idx, rec_idx} = mdl_rms;
- models_rms_n1{stim_idx, rec_idx} = mdl_rms_n1;
- models_rms_n2{stim_idx, rec_idx} = mdl_rms_n2;
- % Extract p-value for ASM_State effect (second row in coefficients)
- pval_rms_matrix(stim_idx, rec_idx) = mdl_rms.Coefficients.pValue(2);
- pval_rms_n1_matrix(stim_idx, rec_idx) = mdl_rms_n1.Coefficients.pValue(2);
- pval_rms_n2_matrix(stim_idx, rec_idx) = mdl_rms_n2.Coefficients.pValue(2);
- catch ME
- fprintf('Warning: Model fit failed for stim=%s, rec=%s\n', for_crisscross{stim_idx}, for_crisscross{rec_idx});
- fprintf(' Error: %s\n', ME.message);
- end
- end
- end
- end
- %% Create visualization (4x4 heatmaps with p-values)
- figure('position',[0 0 1800 500])
- h_rms = zeros(size(pval_rms_matrix));
- h_rmsN1 = zeros(size(pval_rms_matrix));
- h_rmsN2 = zeros(size(pval_rms_matrix));
- % Plot 1: RMS (10-300ms)
- subplot(1, 3, 1)
- imagesc(pval_rms_matrix', [0.0001 0.05])
- colormap(gca, master_ColorMaps('hawaii'))
- cbar1 = colorbar;
- cbar1.Label.String = 'p-value';
- set(gca, 'XTick', 1:4, 'XTickLabel', for_crisscross,'FontSize', 12);
- set(gca, 'YTick', 1:4, 'YTickLabel', for_crisscross);
- xlabel('Stimulation Channel');
- ylabel('Recording Channel');
- title('RMS (10-300ms)');
- grid off
- % Add p-values and significance boxes
- for stim_idx = 1:4
- for rec_idx = 1:4
- pval = pval_rms_matrix(stim_idx, rec_idx);
- if ~isnan(pval)
- if pval < 0.0001
- text(stim_idx, rec_idx, 'p<0.0001', 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- else
- text(stim_idx, rec_idx, num2str(pval, '%.4f'), 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- end
- % Draw colored box if Bonferroni-corrected significant
- if pval < alpha_fam
- % Determine direction of effect: mean(ON) - mean(OFF)
- n_each = length(rms_data_stim_rec{stim_idx, rec_idx}) / 2;
- if n_each > 0
- rms_vals = rms_data_stim_rec{stim_idx, rec_idx};
- mean_off = mean(rms_vals(1:n_each));
- mean_on = mean(rms_vals(n_each+1:end));
- if mean_on < mean_off
- box_color = 'b'; % Blue: decrease from OFF to ON
- h_rms(stim_idx, rec_idx) = -1;
- else
- box_color = 'r'; % Red: increase from OFF to ON
- h_rms(stim_idx, rec_idx) = 1;
- end
- else
- box_color = 'k';
- end
- rectangle('Position', [stim_idx-0.5, rec_idx-0.5, 1, 1], ...
- 'EdgeColor', box_color, 'LineWidth', 2.5);
- end
- end
- end
- end
- % Plot 2: RMS-N1 (10-30ms)
- subplot(1, 3, 2)
- imagesc(pval_rms_n1_matrix', [0.0001 0.05])
- colormap(gca, master_ColorMaps('hawaii'))
- cbar2 = colorbar;
- cbar2.Label.String = 'p-value';
- set(gca, 'XTick', 1:4, 'XTickLabel', for_crisscross,'FontSize', 12);
- set(gca, 'YTick', 1:4, 'YTickLabel', for_crisscross);
- xlabel('Stimulation Channel');
- ylabel('Recording Channel');
- title('RMS-N1 (10-30ms)');
- grid off
- % Add p-values and significance boxes
- for stim_idx = 1:4
- for rec_idx = 1:4
- pval = pval_rms_n1_matrix(stim_idx, rec_idx);
- if ~isnan(pval)
- if pval < 0.0001
- text(stim_idx, rec_idx, 'p<0.0001', 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- else
- text(stim_idx, rec_idx, num2str(pval, '%.4f'), 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- end
- % Draw colored box if Bonferroni-corrected significant
- if pval < alpha_fam
- % Determine direction of effect: mean(ON) - mean(OFF)
- n_each = length(rms_n1_data_stim_rec{stim_idx, rec_idx}) / 2;
- if n_each > 0
- rms_vals = rms_n1_data_stim_rec{stim_idx, rec_idx};
- mean_off = mean(rms_vals(1:n_each));
- mean_on = mean(rms_vals(n_each+1:end));
- if mean_on < mean_off
- box_color = 'b'; % Blue: decrease from OFF to ON
- h_rmsN1(stim_idx, rec_idx) = -1;
- else
- box_color = 'r'; % Red: increase from OFF to ON
- h_rmsN1(stim_idx, rec_idx) = 1;
- end
- else
- box_color = 'k';
- end
- rectangle('Position', [stim_idx-0.5, rec_idx-0.5, 1, 1], ...
- 'EdgeColor', box_color, 'LineWidth', 2.5);
- end
- end
- end
- end
- % Plot 3: RMS-N2 (85-250ms)
- subplot(1, 3, 3)
- imagesc(pval_rms_n2_matrix', [0.0001 0.05])
- colormap(gca, master_ColorMaps('hawaii'))
- cbar3 = colorbar;
- cbar3.Label.String = 'p-value';
- set(gca, 'XTick', 1:4, 'XTickLabel', for_crisscross,'FontSize', 12);
- set(gca, 'YTick', 1:4, 'YTickLabel', for_crisscross);
- xlabel('Stimulation Channel');
- ylabel('Recording Channel');
- title('RMS-N2 (85-250ms)');
- grid off
- % Add p-values and significance boxes
- for stim_idx = 1:4
- for rec_idx = 1:4
- pval = pval_rms_n2_matrix(stim_idx, rec_idx);
- if ~isnan(pval)
- if pval < 0.0001
- text(stim_idx, rec_idx, 'p<0.0001', 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- else
- text(stim_idx, rec_idx, num2str(pval, '%.4f'), 'Color', 'k', ...
- 'HorizontalAlignment', 'center', 'FontSize', 12);
- end
- % Draw colored box if Bonferroni-corrected significant
- if pval < alpha_fam
- % Determine direction of effect: mean(ON) - mean(OFF)
- n_each = length(rms_n2_data_stim_rec{stim_idx, rec_idx}) / 2;
- if n_each > 0
- rms_vals = rms_n2_data_stim_rec{stim_idx, rec_idx};
- mean_off = mean(rms_vals(1:n_each));
- mean_on = mean(rms_vals(n_each+1:end));
- if mean_on < mean_off
- box_color = 'b'; % Blue: decrease from OFF to ON
- h_rmsN2(stim_idx, rec_idx) = -1;
- else
- box_color = 'r'; % Red: increase from OFF to ON
- h_rmsN2(stim_idx, rec_idx) = 1;
- end
- else
- box_color = 'k';
- end
- rectangle('Position', [stim_idx-0.5, rec_idx-0.5, 1, 1], ...
- 'EdgeColor', box_color, 'LineWidth', 2.5);
- end
- end
- end
- end
- sgtitle({'Linear Regression: ASM Effect on Connectivity (RMS ~ ASM_State + PatientID)'; ...
- sprintf('Columns = Stimulated Region | Rows = Recorded Region | Red box = p < %.6f (Bonferroni corrected)', alpha_fam)});
- %% Save figure and results
- res_dir = fullfile(Sbj_Metadatas{1}.project_root, 'COMBINED_RESULTS', 'offon_RMS_multi_v2');
- if ~isfolder(res_dir)
- mkdir(res_dir);
- end
- print(fullfile(res_dir, 'RMS_regression_connectivity_pvalues.png'), '-dpng', '-r300');
- %% Save results
- save(fullfile(res_dir, 'RMS_regression_connectivity_results.mat'), ...
- 'models_rms', 'models_rms_n1', 'models_rms_n2', ...
- 'pval_rms_matrix', 'pval_rms_n1_matrix', 'pval_rms_n2_matrix', ...
- 'rms_data_stim_rec', 'rms_n1_data_stim_rec', 'rms_n2_data_stim_rec', ...
- 'patient_id_stim_rec', 'alpha_fam', 'for_crisscross',...
- 'h_rms','h_rmsN1','h_rmsN2');
- fprintf('\n\nResults saved to: %s\n', res_dir);
- end
CCEP_offon_RMS_multi_v2.m at commit d5a7054, under GPL-3.0 · at the source
Overview
- Department of Neurology University of Alabama at Birmingham Birmingham Alabama USA
- Department of Biomedical Engineering University of Alabama at Birmingham Birmingham Alabama USA
- Department of Electrical and Computer Engineering University of Alabama at Birmingham Birmingham Alabama USA
- Birmingham VA Medical Center Neurology Service Birmingham Alabama USA
Abstract
Background: Anti‐seizure medications (ASMs) control seizures through distinct neuronal mechanisms. While suppressing seizures, putative spill‐over effects can lead to multiple cognitive side effects, some of which can be explained by the modulation of brain connectivity. This modulation can be studied with functional and effective connectivity. While functional connectivity provides information on statistical dependencies between two brain regions, effective connectivity as measured with cortico‐cortical evoked potentials (CCEPs) through single pulse electrical stimulation (SPES) can elucidate the underlying mechanisms of the effective connectivity with high temporal and spatial resolution. CCEPs are often performed while patients are on ASMs; however, the effect of ASMs on CCEPs is largely unknown given limited opportunity to experimentally study this in the human brain. We hypothesized that ASMs would alter the connectivity within the seizure network more often than in healthy brain areas.
Objective: We aimed to understand the effects of ASMs on functional and effective connectivity.
Methods: We recruited seven patients undergoing invasive monitoring with depth electrodes for medically refractory epilepsy, five of whom underwent SPES with 5 mA, 150 µsec per phase square wave pulses at 1 Hz frequency while the patients were on ASMs as part of ongoing research projects (ASM‐ON). Since patients did not have their typical seizures, a second SPES session was performed by the clinical team while off ASMs to reduce their seizure threshold (ASM‐OFF). We recorded a total of 565 bipolar channels and electrically stimulated a total of 17 seizure onset zone (SOZ), 6 early propagation zone (EPZ), 36 irritative zone (IZ), and 64 non‐involved zone (NIZ) electrode pairs across five patients. We compared the amplitude and latency of early and late voltage deflections (N1, N2) and root mean square values of CCEPs between two sessions. In a partly overlapping cohort of five patients, we also recorded 1‐h long rest sessions (ASM‐ON and ASM‐OFF) to show the changes in functional connectivity and graph theoretical measures obtained from the slow fluctuations in broadband high frequency activity.
Results: ASMs preferentially modulated excitability within the epileptic network, with the highest rates of significant CCEP amplitude changes observed for seizure network (SOZ→SOZ: 15.9% N1, 15.5% N2; EPZ→EPZ: 15.6% N1, 11.1% N2; IZ→IZ: 11.6% N1, 12.4% N2) compared to NIZ→NIZ (5.7% N1, 7.4% N2), and with amplitude effects consistently exceeding latency effects across all tissue class combinations (p < 0.05, group significance at q < 0.05). We also found that the RMS based connectivity and functional connectivity were altered more often outside of the seizure network.
Conclusions: Overall, we found that ASMs altered the effective connectivity within the seizure network more than within non‐involved regions, whereas functional connectivity was altered more often within non‐involved regions. This study is the first study revealing with high spatiotemporal resolution that ASMs can alter brain effective and functional connectivity in multiple different ways.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 13 matches between paragraphs and lines of code.
sakkol/CCEP_ASM_connectivity
d5a705408d62a06db316e36fac2f15463ce26377, 3 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
26 files
- CCEP_comp_offon.m, MATLAB, 222 lines
- CCEP_findSharedPairs.m, MATLAB, 45 lines
- CCEP_offon_RMS.m, MATLAB, 266 lines, 1 match
- CCEP_offon_RMS_multi_v2.
m , MATLAB, 389 lines, 3 matches - CCEP_offon_collect.m, MATLAB, 321 lines, 1 match
- CCEP_offon_collect_drect
ns.m , MATLAB, 446 lines - CCEP_offon_collect_drect
ns_perm.m , MATLAB, 382 lines, 2 matches - CCEP_offon_collect_multi
_v2.m , MATLAB, 271 lines - CCEP_processing.m, MATLAB, 100 lines, 1 match
- Figure1.m, MATLAB, 137 lines
- Figure2.m, MATLAB, 93 lines
- Figure3.m, MATLAB, 113 lines
- Figure4.m, MATLAB, 301 lines
- Figure5.m, MATLAB, 213 lines, 2 matches
- Pipeline_CCEP.m, MATLAB, 74 lines
- Pipeline_RestingState.m, MATLAB, 109 lines, 2 matches
- assign_classes.m, MATLAB, 65 lines
- ccep_N1N2.m, MATLAB, 31 lines, 1 match
- ccep_rms.m, MATLAB, 14 lines
- get_info_goodchans_bp.m, MATLAB, 22 lines
- get_info_nonartefactchan
s.m , MATLAB, 11 lines - master_smoothData.m, MATLAB, 60 lines
- shadedErrorBar.m, MATLAB, 253 lines
- strsplit_SA.m, MATLAB, 13 lines
- LICENSE, License, 674 lines
- README.md, Text, 24 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 24 scripts, each with its path and the digest of its content;
- 13 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The code used for analyses will be available at: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 5 keywords, 16 MeSH terms, 4 funders, 70 references.
Cite
This paper
Akkol, S., Brinyark, H. E., Chatfield, R., Vaddiparti, A., Smith, R. J., & Cox, B. C. (2026). Anti-Seizure Medications Alter Functional and Effective Connectivity as Measured With Intracranial Electroencephalography. Brain and behavior, 16(6), e71507. https://
BibTeX
@article{akkol2026anti,
author = {Akkol, Serdar and Brinyark, Helen E. and Chatfield, Rebekah and Vaddiparti, Aparna and Smith, Rachel June and Cox, Benjamin C.},
title = {{Anti-Seizure Medications Alter Functional and Effective Connectivity as Measured With Intracranial Electroencephalography}}
journal = {Brain and behavior},
year = {2026},
month = jun,
volume = {16},
number = {6},
pages = {e71507},
publisher = {Wiley},
issn = {2162-3279},
doi = {10.1002/
url = {https://
pmid = {42204888},
pmcid = {PMC13240049}
}
RIS
TY - JOUR
AU - Akkol, Serdar
AU - Brinyark, Helen E.
AU - Chatfield, Rebekah
AU - Vaddiparti, Aparna
AU - Smith, Rachel June
AU - Cox, Benjamin C.
TI - Anti-Seizure Medications Alter Functional and Effective Connectivity as Measured With Intracranial Electroencephalography
T2 - Brain and behavior
J2 - Brain Behav
PY - 2026
DA - 2026/
VL - 16
IS - 6
SP - e71507
SN - 2162-3279
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "Anti-Seizure Medications Alter Functional and Effective Connectivity as Measured With Intracranial Electroencephalography",
"container-title": "Brain and behavior",
"author": [
{
"family": "Akkol",
"given": "Serdar"
},
{
"family": "Brinyark",
"given": "Helen E."
},
{
"family": "Chatfield",
"given": "Rebekah"
},
{
"family": "Vaddiparti",
"given": "Aparna"
},
{
"family": "Smith",
"given": "Rachel June"
},
{
"family": "Cox",
"given": "Benjamin C."
}
],
"container-title-short":
"volume": "16",
"issue": "6",
"page": "e71507",
"DOI": "10.1002/
"PMID": "42204888",
"PMCID": "PMC13240049",
"ISSN": "2162-3279",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s42003-026-10270-4 [code]
- Direct electrical stimulation of the human amygdala enhances recognition memory for objects but not scenes.Journal: Communications biologyIn common: Statistics and Machine Learning Toolbox, 7 references
- [2] doi:10.1038/s41467-026-75359-0 [code]
- Neural mechanisms of time-forward predictions for naturalistic auditory tone sequences.Journal: Nature communicationsIn common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, EEG, 2 references
- [3] doi:10.1093/braincomms/fcag187 [code]
- 50 Hz Cortical stimulation increases interictal epileptiform discharges at the seizure onset zone.Journal: Brain communicationsIn common: intracranial EEG (iEEG / ECoG / SEEG), epilepsy, 4 references
- [4] doi:10.1038/s41598-026-49900-6 [code]
- Global neural oscillations underlie performance variability and attentional state fluctuations in humans.Journal: Scientific reportsIn common: FieldTrip, Signal Processing Toolbox, Statistics and Machine Learning Toolbox, intracranial EEG (iEEG / ECoG / SEEG), 2 references
- [5] doi:10.64898/2026.03.12.710517 [code]
- Cortical excitability inversely modulates fMRI connectivity via low-frequency neuronal couplingJournal: bioRxiv (preprint)In common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, 1 reference
- [6] doi:10.1371/journal.pbio.3003938 [code]
- Theta oscillations tag episodic memories for sleep-dependent consolidation.Journal: PLoS biologyIn common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, EEG, 1 reference
- [7] doi:10.7554/elife.111114 [code]
- Theta beta ratio in attention deficit hyperactivity disorder using a multiverse analysis.Journal: eLifeIn common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, EEG, 1 reference
- [8] doi:10.1111/ejn.70660 [code]
- Intracranial Electrical Stimulation of the Superior Temporal Gyrus Evokes Rapid Responses in Human Visual Cortex.Journal: The European journal of neuroscienceIn common: intracranial EEG (iEEG / ECoG / SEEG), 4 references
- [9] doi:10.1162/netn.a.554 [code]
- The turbulent brain: Modeling vortex interactions for understanding human cognition.Journal: Network neuroscience (Cambridge, Mass.)In common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, 1 reference
- [10] doi:10.1126/sciadv.aee1002 [code]
- Theta oscillations are an organizational unit of odor processing in the olfactory bulb.Journal: Science advancesIn common: shadedErrorBar, FieldTrip, Signal Processing Toolbox, 1 other tool, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 24 scripts, and 13 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:4886965c39e36e35…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
