Code Monkey home page Code Monkey logo

neuropath2path's Introduction

NeuroPath2Path

"NeuroPath2Path: Classification and elastic morphing between neuronal arbors using path-wise similarity" - Tamal Batabyal, Barry Condron, Scott T. Acton.

This tool computes morphological similarity between a pair of neurons, provides a visualization framework of contnuous morphing between neurons.

_________________________ NeuroPath2Path ________________________

  1. Set the Directory of data.

Open neuroClassifyInterclass.m (similarly neuroClassifyIntraclass.m for intraclass classification). Set the newpath as the path where the directory containing the dataset is present.

  1. Run jobClassifyInter.slurm (similarly jobClassifyIntra.slurm). The default parameter values are given. User can choose different parameters by opening the .slurm file and changing the arguments of neuroClassifyInterclass().

Ex: neuroClassifyInterclass(0.2,15,5,3,9) indicates that this instance of experiment tests on the 20% perclass-randomly sampled data, while rest of the data are used to represent all classes. As mentioned in the paper, we use the number of paths, which is a global feature, of a test neuron (from 20% data) to find the candidates of neurons (from 80% data) to perform majority voting. The binwidth of perclass-path distribution is 15. For a test neuron, the closest candidates are searched through step length 5 (search space reduction) and continue till +/- (95) paths from the number of paths of the test neuron. For example, if a test neuron has 60 rooted paths, we searched the possible candidates from 80% of data, which have numbers of paths ranging from 60-(95)=15 to 60+(9*5)=105. Majority vote is performed on 3 nearest neighbors.

For details, please follow the paper.

  1. Once the job is completed, open OUTPUT.log

  2. The python version is under preparation

% __________File descriptions

% classification readinput : Read swc files from directory computenP2P : Compute path features (User can add more features)

computeDSTInter & Intra : Path alignment + distance between paths

munkres + distanceNeuronNew : Distance between a pair of neurons and path correspondence

jobClassifyInter and jobClassifyIntra : job script files to run in cluster

neuroClassifyInterclass and neuroClassifyIntraclass: main files

% importance weights jobIW : jobscript to get the importance weights

getFeatureWeights : Obtain the importance weights

neuropath2path's People

Contributors

50-cent avatar

Stargazers

 avatar

Watchers

Sophie Laturnus avatar James Cloos avatar  avatar

Forkers

syxd

neuropath2path's Issues

Python version

Hello, thank you for your excellent work.
I would like to ask whether you can open the source code of python version?

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.