Source code and dataset for paper: Content-related neural representations in the motor cortex facilitate handwriting skill transfer across different effectors
Abstract
## **Source code and dataset for paper**: *Content-related neural representations in the motor cortex facilitate handwriting skill transfer across different effectors* ### **Instructions for Users** ### 1. **Dataset** This repository includes two datasets: one for trajectory analyses with healthy participants (located in the **trajectory_analyses** folder), and another for neural analyses, containing invasive brain signals recorded from the left motor cortex of a paralyzed participant (located in the **neural_analyses** folder). - **trajectory_analyses->data** Contains handwriting samples from five healthy participants, each writing three target words using five effectors. The effector abbreviations are as follows: - *'a'* - *'Arm-dominant writing' - *'w'* - *'Wirst-dominant writing'* - *'f1'* - *'Index finger-dominant writing'* - *'f2'* - *'Middle finger-dominant writing'* - *'f3'* - *'Ring finger-dominant writing'* - **neural_analyses->data** Contains invasive neural signal recordings from each session. Two types of data files are provided: - `***-binned-normalized-smoothed-aligned-writing.mat`: Used for all neural analyses except population-level neuronal modulation computation. - `params` - Basic session information. - `spikeunit_***` - Used for plotting the waveform of every single unit (not used in the paper). - `target_label` - Specific movement corresponding to each trial label. A total of 12 movements were executed. - `trial_bin_spike` - Raw neural signals with dimensions $K\times T\times N$ ($K:$ number of trials, $T:$ time bins, $N:$ number of neurons). - `trial_target` - Trial labels, dimensions $1\times K$. - `trial_bin_fr` - Preprocessed neural data (same dimensions as `trial_bin_spike`). - `number_target` - Labels for writing the same content across different effectors. - `effector_target` - Labels for using the same effector across different writing contents. - `***-rest-trial-data.mat` Used for computing population-level neuronal modulation. Fields retain the same meanings as above, with the following additions: - `condition_neural` - Same as `trial_bin_fr`. - `rest_neural` - Neural signals during the 'do nothing' condition, dimensions $N\times T$. ### 2. **Trajectory Analyses** Code for trajectory analyses is located in the **trajectory_analyses** folder. Run `statistical_comparison.ipynb` directly to proceed with the analysis. ### 3. **Neural Analyses** Code for neural analyses is located in the **neural_analyses** folder. Run `main.m` to begin analysis.
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 7 January 2026