GithubHelp home page GithubHelp logo

tiger-the-cat / musc_tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jacobkimmel/musc_tracker

0.0 0.0 0.0 588 KB

Bipartite tracker for muscle stem cells

Python 23.68% Jupyter Notebook 76.32%

musc_tracker's Introduction

Bipartite Tracking for Muscle Stem Cells

This repository implements a simple cell tracker based on bipartite graph matching, with some assumptions made that optimize tracking for muscle stem cells.

Usage

To track cells for a given movie, place binary masks and images in a single directory and use the track_well.py CLI:

python track_well.py movie_path \
  --img_regex "STRING_TO_GLOB_IMAGES" \
  --mask_regex "STRING_TO_GLOB_MASKS" \

See the help menu for further tracking options:

python track_well.py -h

Quality Control Models

Collecting ground truth information for cell tracks is laborious and expensive. Automated tracking using a bipartite tracker is often highly effective, but still occassionally generates errors. If a user manually provides annotations indicating which tracks are correct, and which contain an error, a machine learning model can be trained to automatically perform this post-processing quality control task.

Here, we provide a tool for training and using tracking QC models in qc_model.py. This tool will train either (1) a random forest classifier using hand-engineered features extracted from each track, or (2) a deep recurrent neural network model, which learns features from annotated tracking data.

To use the QC model tool, you will need to train a model:

python qc_model.py train --config $CONFIG_FILE

then call predictions

python qc_model.py predict --config $CONFIG_FILE --tracks_dir $DIR_TO_PREDICT

See the help menu with

python qc_model.py -h

for further details on configuration parameters.

Performance

We evaluated the performance of random forests as tracking QC models on muscle stem cells. In this context, we find that the model improves reduces the number of tracks with errors (False positive rate) while accurately classifying the majority of tracks.

RF QC Model

musc_tracker's People

Contributors

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