Coder Social home page Coder Social logo

gyd1990 / phate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krishnaswamylab/phate

0.0 1.0 0.0 119.12 MB

PHATE (Potential of Heat-diffusion for Affinity-based Transition Embedding) is a tool for visualizing high dimensional single cell data with natural progressions or trajectories.

License: GNU General Public License v2.0

MATLAB 0.28% M 0.01% Makefile 0.01% Python 99.68% R 0.03% Shell 0.01%

phate's Introduction

PHATE - Potential of Heat-diffusion for Affinity-based Transition Embedding

Latest PyPI version Latest CRAN version Travis CI Build Read the Docs bioRxiv Preprint Twitter

PHATE is a tool for visualizing high dimensional single-cell data with natural progressions or trajectories. PHATE uses a novel conceptual framework for learning and visualizing the manifold inherent to biological systems in which smooth transitions mark the progressions of cells from one state to another. To see how PHATE can be applied to single-cell RNA-seq datasets from hematopoietic stem cells, human embryonic stem cells, and bone marrow samples, check out our preprint on BioRxiv.

Kevin R. Moon, David van Dijk, Zheng Wang, et al. PHATE: A Dimensionality Reduction Method for Visualizing Trajectory Structures in High-Dimensional Biological Data. 2017. BioRxiv

PHATE has been implemented in Python (2.7 and >=3.5), MATLAB and R.

Table of Contents

Python

Installation with pip

The Python version of PHATE can be installed by running the following from a terminal:

    pip install --user phate

Installation from source

The Python version of PHATE can be installed from GitHub by running the following from a terminal:

    git clone --recursive git://github.com/KrishnaswamyLab/PHATE.git
    cd PHATE/Python
    python setup.py install --user

Tutorial and Reference

For more information, read the documentation on ReadTheDocs or view our tutorials on GitHub: single-cell RNA-seq, artificial tree.

MATLAB

Installation

  1. The MATLAB version of PHATE can be accessed by running the following from a terminal:

     git clone --recursive git://github.com/KrishnaswamyLab/PHATE.git
     cd PHATE/Matlab
    
  2. Add the PHATE/Matlab directory to your MATLAB path.

Tutorial and Reference

Run any of our run_* scripts to get a feel for PHATE. Documentation is available in the MATLAB help viewer.

R

In order to use PHATE in R, you must also install the Python package.

Installation from CRAN and PyPi

Install phateR from CRAN by running the following code in R:

install.packages("phateR")

Install phate in Python by running the following code from a terminal:

pip install --user phate

If python or pip are not installed, you will need to install them. We recommend Miniconda3 to install Python and pip together, or otherwise you can install pip from https://pip.pypa.io/en/stable/installing/.

Installation with devtools and reticulate

The development version of PHATE can be installed directly from R with devtools:

if (!suppressWarnings(require(devtools))) install.packages("devtools")
devtools::install_github("KrishnaswamyLab/phateR")

If you have the development version of reticulate, you can also install phate in Python by running the following code in R:

devtools::install_github("rstudio/reticulate")
reticulate::py_install("phate", pip=TRUE)

Installation from source

The latest source version of PHATE can be accessed by running the following in a terminal:

git clone --recursive git://github.com/SmitaKrishnaswamy/PHATE.git
cd PHATE/phateR
R CMD INSTALL
cd ../Python
python setup.py install --user

If the phateR folder is empty, you have may forgotten to use the --recursive option for git clone. You can rectify this by running the following in a terminal:

cd PHATE
git submodule init
git submodule update
cd phateR
R CMD INSTALL
cd ../Python
python setup.py install --user

Tutorial and Reference

For more information and a tutorial, read the phateR README. Documentation is available in the R help viewer with help(phateR::phate).

Help

If you have any questions or require assistance using PHATE, please contact us at https://krishnaswamylab.org/get-help.

phate's People

Contributors

dburkhardt avatar dvdijk avatar kmoon3 avatar scottgigante avatar smitakrishnaswamy avatar stanleyjs avatar

Watchers

 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.