Giter Site home page Giter Site logo

pcreode's Introduction

p-Creode

Build Status codecov PyPI version

Please let us know if you run into any issues or have any questions, through the issues page above or by email: [email protected].

The term creode was coined by C.H. Waddington, combining the Greek words for “necessary” and “path” to describe the cell state transitional trajectories that define cell fate specification. Our algorithm aims to identify consensus routes from relatively noisy single-cell data and thus we named this algorithm p- (putative) Creode. Conceptually, p-Creode determines the geometric shape of a collection of dense data points (i.e., a data cloud) in order to reveal the underlying structure of transitional routes. p-Creode was developed using Python2.7 if you are not using this version see below for instructions on how to install a Python2.7 kernel.

Installation for Mac or Linux

There are three ways to install p-Creode with Mac/Linux operating systems.

git clone git://github.com/KenLauLab/pCreode
cd pCreode
sudo pip install .

With this install, the jupyter notebook tutorial and the example scRNA-seq myeloid data set can be accessed in the notebook and data directories on your machine.

sudo pip install pcreode

Then manually download the juypter notebook and example data file from the folders above. Simply right click on the download button and select "Save link as...".

Homebrew and anaconda install courtesy of Dan Skelly.

brew install igraph
git clone git://github.com/KenLauLab/pCreode
cd pCreode
conda create -n pcreode python=2.7 python-dateutil=2.5.3 numpy pandas matplotlib python-igraph jupyter cython
source activate pcreode
pip install .

Note: For Mac users, Cairo may or may not be installed. If you have problems plotting, you need to install Cairo. Please follow the instructions in this link.

*** Some Mac users have experienced issues installing igraph, here is a link to instructions for a direct install on a Mac

Installation for Windows

The problem with p-Creode installation on a Windows machine is with the python-igraph package, where there seems to be a bug in the setup. Hence, additional steps must be taken.

  1.   Install Anaconda version 2.7
    
  2.       Download the user compile wheels of 2 packages (download the bit version as appropriate) from this link:

   -       pyCairo   For example, in Anaconda prompt, go to the directory where the whl is downloaded and:

        pip install pycairo-1.13.2-cp27-cp27m-win_amd64.whl

   -       python-igraph

        pip install python_igraph-0.7.1.post6-cp27-none-win_amd64.whl
  1.   pip install pcreode
    

*** if you are having issues with igraph plotting of graphs please try:

conda install -c conda-forge python-igraph

You will still need to manually download the juypter notebook and example data file from the folders above to be able to run the tutorial.

Tutorial

*** If your Python version is greater than 3.0 you will need to install a Python 2.7 IPython kernel to run jupyter notebooks. Instructions on how to accomplish that can be found here

Once p-Creode is installed you can access the tutorial by command line (conda environment if using PC) with

jupyter notebook

The downloaded p-Creode tutorial can be opened by using the jupyter interface to find the directory where it was saved. A brief introduction to jupyter notebook can be found here.

pcreode's People

Contributors

kenlaulab avatar

Watchers

Chuck Herring 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.