Giter Site home page Giter Site logo

matlabtfce's Introduction

MatlabTFCE

Standalone MATLAB implementation of permutation TFCE correction

This package offers a standalone implemetation of multiple comparison correction for fMRI data. It achieves this through a permutation testing approach which controls familywise error rate by comparing voxelwise statistics to the maximal statistics obtained from repeating the analysis with randomized data. See Nichols & Holmes (2002) for a detailed treatment of this approach.

This maximal permuted statistic correction technique is combined with the threshold free cluster enhancement (TFCE) transformation due to Smith & Nichols (2009), which obviates the need for arbitrary voxelwise cluster-forming thresholds and instead produces continuous correct p-values for all voxels. Although some spatial specifity is lost relative to purely voxelwise approach, this approach, like cluster corrections, is substantially less conservative due to the fact that it capitalizes on spatial dependency in the data.

All functionality in the package can be accessed via matlab_tfce.m and that file also provides a description of the relevant parameters. The file matlab_tfce_gui.m provides a convenient user interface.

The following statistical tests can be computed:

'onesample' -- tests one sample hypothesis mean > 0

'paired' -- paired (dependent samples) test mean(imgs) > mean(imgs2)

'independent' -- independent (two sample) test mean(imgs) > mean(imgs2)

'correlation' -- correlation across subjects of imgs with covariate

'rm_anova1' -- one-factor repeated measures ANOVA

'rm_anova2' -- two-factor (with interaction) repeated measures ANOVA

'regression' -- multiple linear regression

Other than the ANOVAs, all tests permit both one- and two-tailed modes. See the demo script to observe proof of familywise error rate control under trivial conditions. The TFCE transformation itself and the paired/one-sample t-test routines have been validated directly against FSL's randomise using real fMRI data. Default parameter settings were also adopted from FSL.

See here for additional information: http://markallenthornton.com/blog/matlab-tfce/

matlabtfce's People

Contributors

markallenthornton avatar robince 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.