Cocoanlab Github Repository: Cocoan lab code repositories



    Neuromarkers


    Tonic Pain Signature (ToPS): A neuroimaging biomarker for sustained experimental and clinical pain (from Lee et al., 2020, Nature Medicine. Model, codes, data, and supplementary materials are available to download.


    Neuroimaging analyses


    RSA tutorial: Slides, codes, and data for a tutorial session at 2019 KHBM summer school

    Bayes Factor Calculator for Bayesian MANOVA: This is designed for a specific type of data--x, y, z, and group information. We made this for fMRI data to test whether two conditions or studies activate same or different peak locations.

    CocoPrep: Codes for preprocessing human fmri data collected in the cocoanlab (Matlab)

    CocoanCore: Some important data and functions for fMRI analyses


    Experiments codes


    DS8R matlab API: A matlab API and example code to deliver electric shocks through Digitimer DS8R

    Cocoan Experiment Master Code: A psychtoolbox code template for running experiments