Coder Social home page Coder Social logo

individualthetacluster's Introduction

IndividualThetaCluster

This code (Demo_SingleThetaCluster.m includes Step1, Step2, Step3)show how cluster individual theta cycle of LFP recorded in hippocampal CA1 pyrmidal layer into four clusters:slow gamma; median gamma; early high gamma and late high gamma through k-means clustering;

The code corresponds the method we proposed in the publication at elife 2019; https://elifesciences.org/articles/44320

Author: Lu Zhang;[email protected]; tested with Matlab 2017b and 2019a;

toolbox needed: Toolbox 1:buzsaki Lab code for processing hc-11 data; not necessary if use your own data:https://github.com/buzsakilab/buzcode

Toolbox 2:Comunity Clustering;not necessary if only try k-means clustering;http://netwiki.amath.unc.edu/GenLouvain/GenLouvain

Step 1 includes loading hc-11 data;please download the data first if not use your own data; https://crcns.org/data-sets/hc/hc-11/about-hc-11

Step 2 prepare data samples for clustering; LFP, filtered LFP in theta band,LFP theta phase is needed;

Step 3-1:k-means clustering and 4 theta-gamma asignment;

Step 3-2:community clustering; Noted that this process is time coumsing when data sample is large. In this demo, only the first 5000 samples were used; It cost ~1 hour calculation if use all samples in this demo;

individualthetacluster's People

Contributors

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