Exhaustive codebase to run the sniffing analyses on the NEMO dataset
Operating System: Windows
MATLAB Version: R2023B
The code was tested on a machine with the following recommended specifications: RAM: 64GB; processor: AMD Ryzen Threadripper PRO 4.00 GHz or higher; No non-standard hardware required.
To install:
git clone https://github.com/viveksgr/SFP.gitInstall MATLAB Toolboxes directly from the source links provided.
The installation should take approximately a few minutes on a normal desktop computer.
Demonstration scripts to run analyses are provided in the examples folder. The output should be similar to corresponding analyses in Sagar et. al., 2024 "The human brain modulates sniffs according to fine-grained perceptual features of odors" (In preparation) Runtime for the demo scripts varies by the analyses but most behavioral analyses should be executable within an hour.
- Clone the repository and add all dependencies to filepath
- Launch MATLAB and add <SFP_functions> to path
- For each demo example, make sure file path for variable is set as that of cloned repository on local machine.
- Currently, demo files are provided to recreate crucial behavioral results from decoding and multilogistic analyses.
To repeat the complete analyses using these scripts, acquire the complete raw dataset: The following scripts should be executed in order after preprocessing:
- sfp_behavior_extract: Prepare sniff data across subjects for sniffing analyses
- sfp_multilogistic: For multilogistic model to predict levels of perceptual descriptor from sniff data
- sfp_behavioralRSA: For behavioral representational similarity analysis
- sfp_decoding: For decoding analyses to predict odor identity from sniff shape
- sfp_timeseries: Time series version of behavioralRSA
- ARC_createsingle: Create singletrial voxel responses using GLM single package
- sfp_clustering: To construct ROI based version of clustering RSA
- sfp_clustering_searchl: To construct searchlight based version of clustering RSA
- sfp_clustering_searchl_allpercepts_map: To construct searchlight based version of clustering RSA for individual descriptors
Detailed documentation for all scripts are in progress
The full analysis may take approximately over 24-48 hours depending on your system specifications and GLM_single settings.
If you encounter issues, contact sgr.vivek@gmail.com.
Terms of use: This content is licensed under MIT License.