PHATE Versions Save

PHATE (Potential of Heat-diffusion for Affinity-based Transition Embedding) is a tool for visualizing high dimensional data.

v0.3.0

5 years ago

Changeset:

  • add cluster submodule
    • adds cluster.kmeans function to perform KMeans on the diffusion potential
  • add dpi argument to plot.rotate_scatter3d

v0.2.10

5 years ago

Changeset:

  • phate.plot.scatter now accepts a list of matplotlib colors
  • phate.plot.scatter now returns the axis on which the plot was drawn
  • minor logging changes

v0.2.9

5 years ago

Changes:

  • Use tasklogger for logging; fixes issues with Windows 7 verbose output
  • Use scprep in tutorials for simpler analysis
  • Change default value of alpha to 40 for faster computation of kernel
  • phate.plot.scatter now takes keyword arguments x, y and z rather than a list-like
  • phate.plot.scatter has keyword arguments for axis label prefix label_prefix (as an alternative to labelling axes individually), plot title title, and legend location legend_loc
  • minor bugfixes

v0.2.8

5 years ago

PHATE v0.2.8 adds plotting utilities:

  • phate.plot.scatter2d: 2D scatterplot
  • phate.plot.scatter3d: 3D scatterplot
  • phate.plot.rotate_scatter3d: rotating 3D scatterplot (gif or mp4)

All plotting functions accept either data or a PHATE object as input. The color vector c can be continuous or categorical, and need not be numeric. Legends / colorbars are generated with randomized point order on the canvas.

v0.2.7

5 years ago

PHATE now implements a sparse, fast alpha decay kernel which has minimal memory requirements, compared to the old alpha decay which required a parwise distance matrix. Alpha decay now runs by default. In order to use the k nearest neighbors kernel, run with a=None.

Other notable changes:

  • graphtools implementation of kernel matrices
  • gamma replaces potential_method for the selection of informational distances. gamma=1 is equivalent to a log potential (default) and gamma=0 is equivalent to a square root potential
  • arguments alpha_decay and potential_method are deprecated.
  • PHATE is now implemented as a visualization method in Scanpy: https://scanpy.readthedocs.io/

v0.2.4

5 years ago

The Python version of PHATE now accepts both distance matrices and affinity matrices with the keyword knn_dist='precomputed'.

We assume distance matrices have only zeroes along the diagonal, and affinity matrices have no zeroes on the diagonal.

v0.2.3

5 years ago

PHATE now accepts scanpy's native AnnData format

v0.2.0

5 years ago

Version 2.0 implements fast scalable PHATE in Python (2.7, >=3.5), MATLAB and R.

PHATE now runs in seconds to minutes on tens of thousands of cells. Benchmarking shows runtime of ~3 hours on >1,000,000 cells.

Key changes:

  • t is automatically chosen using Von Neumann Entropy using t='auto' by default.
  • n_landmark determines the number of landmarks to use for scalable PHATE. n_landmark=None ([] on MATLAB, NA in R) specifies exact PHATE.
  • default parameters have changed: k=15, a=10 but is ignored if n_cells>=n_landmark.