Skip to content
Harmony framework for connecting scRNA-seq data from discrete time points
Jupyter Notebook Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Initial commit Aug 22, 2018
notebooks Initial commit Aug 22, 2018
LICENSE Fix for issue 3 May 3, 2019


Harmony is a unified framework for data visualization, analysis and interpretation of scRNA-seq data measured across discrete time points.Harmony constructs an augmented affinity matrix by augmenting the kNN graph affinity matrix with mutually nearest neighbors between successive time points. This augmented affinity matrix forms the basis for generated a force directed layout for visualization and also serves as input for computing the diffusion operator which can be used for trajectory detection using Palantir

Installation and dependencies

  1. Harmony has been implemented in Python3 and can be installed using:
        $> git clone git://
        $> cd Harmony
        $> sudo -H pip3 install .

	$> cd ../
        $> git clone git://
        $> cd Palantir
        $> sudo -H pip3 install .
  1. Harmony depends on a number of python3 packages available on pypi and these dependencies are listed in All the dependencies will be automatically installed using the above commands

  2. To uninstall:

     $> sudo -H pip3 uninstall harmony
  3. If you would like to determine gene expression trends, please install R programming language and the R package GAM . You will also need to install the rpy2 module using

     $> sudo -H pip3 install rpy2


A tutorial on Harmony usage and results visualization for single cell RNA-seq data can be found in this notebook:

The datasets generated as part of the manuscript and harmozined using Harmony are available for exploration at:


Harmony was used to harmonize datasets across multiple time points in our manuscript characterizing mouse gut endoderm development. This manuscript is available at Nature. If you use Harmony for your work, please cite our paper.

You can’t perform that action at this time.