Skip to content

Releases: KrishnaswamyLab/PHATE

PHATE v0.3.0

22 Dec 02:15
Compare
Choose a tag to compare

Changeset:

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

PHATE v0.2.10

24 Nov 18:08
b4faee1
Compare
Choose a tag to compare

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

PHATE v0.2.9

13 Aug 21:10
c116e4d
Compare
Choose a tag to compare

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

PHATE v0.2.8

27 Jun 03:54
946a4ae
Compare
Choose a tag to compare

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.

Sparse fast alpha and gamma informational distances

08 Jun 02:04
fc93cef
Compare
Choose a tag to compare

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/

Accept affinity and distance matrices

01 Jun 00:06
ffb3c24
Compare
Choose a tag to compare

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.

Introduce scanpy support

01 Jun 00:05
9804d9d
Compare
Choose a tag to compare

PHATE now accepts scanpy's native AnnData format

PHATE 2.0 (Fast scalable PHATE)

31 May 23:59
f9d2f37
Compare
Choose a tag to compare

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.