Giter VIP home page Giter VIP logo

bangfleming's Introduction

article-distinct-encoding

This repository contains data and code supporting the following paper:

Bang & Fleming (2018) “Distinct encoding of decision confidence in human medial prefrontal cortex”

FigureX.m files will generate the specified plots from the paper by loading behavioural data, model predictions and/or fMRI ROI data.

The paths in these scripts require altering the directory variable ‘repoBase’ to point to your local version of the repository.

Unthresholded group-level statistical maps supporting whole-brain analyses are available on NeuroVault: https://neurovault.org/collections/3792/.

Folders

Custom

Contains custom scripts for data extraction and plotting.

Data

Contains anonymised behavioural data for the pre-scan (Data/Behaviour/Prescen) and the scan (Data/Behaviour/Prescen) sessions, ROI contrast estimates (Data/Scan/Contrast), ROI single-trial activity estimates (Data/Scan/Activity) and ROI activity time courses (Data/Scan/Timecourse).

HDDM

Contains scripts for hierarchical DDM fitting using the HDDM toolbox (http://ski.clps.brown.edu/hddm_docs/) and generation of posterior predictives using the DMAT toolbox (https://ppw.kuleuven.be/okp/software/dmat/).

Model

Contains scripts for fitting confidence model to pre-scan data and generating out-of-sample predictions about subjective confidence for scan data.

Permutation

Contains scripts for permutation testing for analysis of ROI activity time courses.

SPM

Contains scripts for setting up GLMs of fMRI data. fMRI data were pre-processed using standard pipelines available here: https://github.com/metacoglab/MetaLabCore. All fMRI analyses were done using SPM 12 (www.fil.ion.ucl.ac.uk/spm).

Upsample

Contains example script for creating ROI activity time courses.

Preprint

A preprint of this article can be found on bioRxiv.

This code is being released with a permissive open-source license. You should feel free to use or adapt the code as long as you follow the terms of the license. If you make use of the behavioural, modelling or neuroimaging analyses, we would appreciate that you cite the paper.

bangfleming's People

Contributors

danbang avatar smfleming avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.