CRAN_Status_Badge R-CMD-check Downloads


NPflow is a package for performing Bayesian estimation of Dirichlet process mixtures of multivariate skew \(t\)-distributions. It is especially oriented towards flow-cytometry data preprocessing applications, but can be useful for numerous other applications.

The main function of the package is DPMpost().

The method implemented in this package is detailed in the following article:

Hejblum BP, Alkhassim C, Gottardo R, Caron F and Thiebaut R (2019). Sequential Dirichlet Process Mixtures of Multivariate Skew t-distributions for Model-based Clustering of Flow Cytometry Data. The Annals of Applied Statistics, 13(1):638-660. <doi: 10.1214/18-AOAS1209> <arXiv: 1702.04407>


The easiest way to get NPflow is to install it from CRAN:


Or to get the development version from GitHub:

devtools::install_github("sistm/NPflow", ref="CRANrelease")

– Boris Hejblum