https://doi.org/10.5061/dryad.41ns1rnpj
The codes and data for the manuscipt,
"A Computational Mechanism of Cue-Stimulus Integration for Pain in the Brain"
PEPSI stands for Pain Expectation and Pain Stimulus Integration.
- Implements the processes and visualizations depicted in Figs. 2A-B (Calculation of subspaces and encoding performances).
- Implements the visualization of the trajectories in subspaces.
- Implements the processes and visualizations depicted in Fig. 5 (Reconstructing behavioral patterns from the neural trajectories).
- Contains all data necessary for implementing the steps in the codes folder.
neurAvg.FIR
: subject averaged FIR response. comprising whole voxel.neurAvg.CuetBeta
,neurAvg.StimtBeta
: temporal encoding weights usingneurAvg.FIR
as Y, andCueStimX
as XCueStimX
: [Intercept, CueInfo, StimInfo]. Normalized. Condition ordered as in variable "condName"parcelIndx
: spatial index of each networkbehvout
: mat size of #cond X #sub. pain reports. condition is ordered as in variable "condName"cmaps
: color maps for "condName"cmaps7
: color maps for 7 large-scale functional networks.
- Provides the brain template for variable "neurAvg" in the data_for_replication.mat.
- Example usage
obj = fmri_data(fullfile(basedir, 'data', 'template.nii'))
. This will results in same voxel size in data of theneurAvg
.
- Example usage
Links to other publicly accessible locations of the data:
Codes tested on Ubuntu 20.04, matlab R2021b.
Dependencies are...