Skip to content

vincent6liu/magic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markov Affinity-based Graph Imputation of Cells (MAGIC)

MAGIC has been implemented in Python3 and Matlab.

Installation and dependencies for the Python version

  1. The Python3 version of MAGIC can be installed using:

     $> git clone git:https://github.com/vincent6liu/magic.git
     $> cd magic
     $> sudo -H pip3 install .
    
  2. MAGIC depends on a number of python3 packages available on pypi and these dependencies are listed in setup.py All the dependencies will be automatically installed using the above commands

Usage

Command line

A tutorial on MAGIC usage and results visualization for single cell RNA-seq data can be found in this notebook: https://nbviewer.jupyter.org/github/pkathail/magic/blob/develop/notebooks/Magic_single_cell_RNAseq.ipynb

GUI

A python GUI is now available for MAGIC. After following the installation steps listed below, the GUI can be invoked using

    $> magic_gui.py

Instructions for the Matlab version

  1. run_magic.m -- MAGIC imputation function
  2. test_magic.m -- Shows how to run MAGIC. Also included is a function for loading 10x format data (load_10x.m)

About

GUI integrating MAGIC and PhenoGraph

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 95.7%
  • Python 4.0%
  • HTML 0.3%