Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Condition out-of-sample prediction

Project description

trVAE PyPI version Build Status


A Keras (tensorflow < 2.0) implementation of trVAE (transfer Variational Autoencoder) .

trVAE can be used for style transfer in images, predicting perturbations responses and batch-removal for single-cell RNA-seq.

  • For pytorch implementation check Here

Getting Started


Before installing trVAE package, we suggest you to create a new Python 3.6 (or 3.7) virtual env (or conda env) with the following steps:

1. Installing virtualenv

pip install virtualenv

2. Create a virtual with Python 3.6

virtualenv trvae-env --python=python3.6 

3. trVAE package installation

To install the latest version from PyPI, simply use the following bash script:

pip install trvae

or install the development version via pip:

pip install git+

or you can first install flit and clone this repository:

git clone
cd trVAE
pip install -r requirements
python install 


  • For perturbation prediction and batch-removal check this example from Haber et al.

Reproducing paper results:

In order to reproduce paper results visit here.

Project details

Download files

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

Files for trVAE, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size trVAE-1.1.2-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size trVAE-1.1.2.tar.gz (22.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page