Giter Club home page Giter Club logo

cadopti's Introduction

CADopti

This repository contains MATLAB code for a machine learning algorithm for the detection of functional cell assemblies at their optimal time scale (CADopti) from simultaneously recorded spike trains.

The algorithm extends from the cell assembly detection algorithm (CAD) presented in Russo, Durstewitz, Cell assemblies at multiple time scales with arbitrary lag constellations. Elife. 2017 6 and available at here, and returns, for each set of coordinated units, only the configuration (in terms of activity pattern and temporal resolution) of maximal temporal coordination (lowest p-value).

Similarly to CAD, CADopti detects functional cell assemblies of arbitrary size through an agglomerative scheme, which recursively tests and adds new units to pre-tested assemblies. The new agglomeration algorithm proceeds as follows: Each unit pair is tested at all time scales specified in BinSizes. For each significant unit-pair, the time scale at which the pairwise interaction has the lowest p-value is selected. This step fixes the assembly characteristic time scale, any further agglomeration step will then be performed at that temporal resolution. Significance of all tests performed at each agglomeration step is corrected for multiple comparisons with the Bonferroni-Holm method, only significant activity patterns pass to the next step. At the end of each step, if the complete set of units composing an assembly is present also in a different assembly of same size, only the assembly with lowest p-value is kept for further agglomeration. This latter case applies when different unit-pairs, part of an overarching assembly, converge to the same assembly upon agglomeration of other assembly-units.

CAD/CADopti comparison: CADopti returns a sub-selection of the assemblies detected by CAD, automatically selecting for the time scale at which assembly units are best coordinated. For this reason, CADopti is faster than CAD. Note that if interested in the specific question of whether the same set of units is coordinated at two time scales, CADopti has to be run separately on the two time scales of interest.

Code tested for MATLAB R2018a. In case of questions or comments, please contact [email protected]. Please credit the source and cite Russo and Durstewitz 2017 and Oettl et al. 2020 when using the code in any form of publication.

Copyright: 2020 Russo Eleonora, Dept. of Theoretical Neuroscience, Central Institute of Mental Health, Medical Faculty Mannheim, Heidelberg University.

Usage

For a short tutorial on how to use CADopti and visualize the result, please, run Tutorial_CADopti.m

cadopti's People

Contributors

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