Skip to main content

PHATE

Project description

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

Python installation and dependencies

  1. The Python version of PHATE can be installed using:

    $ git clone git://github.com/SmitaKrishnaswamy/PHATE.git
    $ cd Python
    $ python setup.py install --user
  2. PHATE depends on a number of python packages available on pypi and these dependencies are listed in setup.py All the dependencies will be automatically installed using the above commands

Usage

PHATE has been implemented with an API that should be familiar to those with experience using scikit-learn. The core of the PHATE package is the PHATE class which is a subclass of sklearn.base.BaseEstimator. To get started, import phate and instantiate a phate.PHATE() object. Just like most sklearn estimators, PHATE() objects have both fit() and fit_transform() methods. For more information, check out our notebook below.

If you want to try running our test script on a DLA fractal tree: 1. Make the test scripts executable

$ cd PHATE/Python/test
$ chmod +x phate_test_tree.py phate_test_mESC.py
$ ./phate_test_tree.py #output saved in a png

Jupyter Notebook

A demo on PHATE usage and visualization for single cell RNA-seq data can be found in this notebook: https://nbviewer.jupyter.org/github/KrishnaswamyLab/PHATE/blob/master/Python/tutorial/PHATE_tree.ipynb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phate-0.2.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file phate-0.2.tar.gz.

File metadata

  • Download URL: phate-0.2.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phate-0.2.tar.gz
Algorithm Hash digest
SHA256 b7589c0cf078f96eed3dcbf2f01ad1fb2fb3edcf5bdad3e5c995f92ed98bd318
MD5 2824cfca3cbd1bc7508515c5c689ca5f
BLAKE2b-256 23f4cba7d806b1d0550fda9bfbe3cb507aadc6517ec2456cc86a33fb2c49b20d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page