Giter Site home page Giter Site logo

eden-kramer-lab / glm-cfc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jessicanada/glm-cfc

15.0 3.0 7.0 436.46 MB

A GLM based approach to measure CFC

License: GNU General Public License v3.0

MATLAB 100.00%
cross-frequency-coupling time-series generalized-linear-models neuroscience functional-connectivity frequency-domain

glm-cfc's Introduction

GLM-CFC

A GLM based approach to assess CFC.

Code to measure cross-frequency coupling between two signals as described in this manuscript:

A statistical framework to assess cross-frequency coupling while accounting for confounding analysis effects, J. Nadalin, L-E Martinet, E. Blackwood, M-S Lo, A. S. Widge, S. S. Cash, U. T. Eden, M. A. Kramer, 2019.

ExampleCode.m: Run the cells in this file to produce example voltage traces and surfaces in (Phi_low, A_low, A_high)-space (as in Figure 4 of the manuscript). Four simulations are present: (i) no CFC, (ii) PAC only, (iii) AAC only, and (iv) both PAC and AAC.

simfun.m: Code to simulate signals V_low, V_high, with induced cross-frequency coupling and measure output statistics R_PAC and R_AAC along with confidence intervals and p-values.

glmfun.m: Code to evaluate the coupling statistics R_PAC and R_AAC, along with confidence intervals and p-values, between two signals.

glmfun_with_indicator.m: Cn example of how to update glmfun to test for effect of condition (e.g. pre and post stimuli) on coupling

The voltage traces for the human data can be found in Patient_Data.mat, and the rodent data can be found at https://github.com/tne-lab/cl-example-data

The Chaotic System Toolbox is required to generate surrogate data.

Any questions/comments please direct to Jessica Nadalin ([email protected]) or Mark Kramer ([email protected])

glm-cfc's People

Contributors

jessicanada avatar mark-kramer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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