Skip to content

Deidentified code associated with CARLA manuscript

License

Notifications You must be signed in to change notification settings

MultimodalNeuroimagingLab/CARLA_JNM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

If this code is used in a publication, please cite the manuscript:
"CARLA: Adjusted common average referencing for cortico-cortical evoked potential data"
by H Huang, G Ojeda Valencia, NM Gregg, GM Osman, MN Montoya, GA Worrell, KJ Miller, and D Hermes.
A preprint is available currently at https://doi.org/10.48550/arXiv.2310.00185.

Correspondence:
H Huang: [email protected]; D Hermes: [email protected]

*****

DEPENDENCIES

- mnl_ieegBasics: https://github.com/MultimodalNeuroimagingLab/mnl_ieegBasics
- matmef: https://github.com/MultimodalNeuroimagingLab/matmef
- mnl_seegview: https://github.com/MultimodalNeuroimagingLab/mnl_seegview
- SPM12 (as dependency for mnl_seegview): https://www.fil.ion.ucl.ac.uk/spm/software/spm12/
- vistasoft: https://github.com/vistalab/vistasoft
- Freesurfer v7: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall

*****

USAGE

a. The data used in this analysis will be available upon manuscript publication on OpenNeuro, in BIDS format. At time of publication, it will contain the raw data needed to generate all results EXCEPT for those pertaining to figures 7 and 8 (which require data from all stimulation sites in all subjects). The complete data are currently being used to answer other scientific questions, and will be released in time as other projects are completed. We greatly appreciate your patience and understanding. Before manuscript publication, all results pertaining to simulated CCEPs (e.g., Figure 4) can still be reproduced by the code alone.

b. Pial, cortical, and subcortical segmentations for each subject were obtained using Freesurfer v7. These were used to localize each stimulation site to a particular tissue type (in fig7_summarizeCARLARealCCEPs.m). The necessary Freesurfer outputs for each subject are located in the data subdirectory: data/derivatives/freesurfer

c. All custom analyses were performed in MATLAB R2023a. Step-by-step code blocks and instructions to generate all manuscript figures and results are in "main.m". Please open "main.m" and follow the code sections contained therein. The data should be downloaded and copied into a folder named "data", in the root level code directory.

About

Deidentified code associated with CARLA manuscript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 100.0%