Metadata-Version: 2.1
Name: trvaep
Version: 0.0.6
Summary: trVAE - Transfer Variational Autoencoders pytorch
Home-page: UNKNOWN
License: UNKNOWN
Author: Mohammad Lotfollahi
Author-email: mohammad.lotfollahi@helmholtz-muenchen.de
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: future-fstrings
Requires-Dist: get_version
Requires-Dist: get_version
Requires-Dist: scanpy
Requires-Dist: adjustText
Requires-Dist: torch
Requires-Dist: torchvision
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: seaborn
Requires-Dist: matplotlib
Requires-Dist: pandas
Requires-Dist: pytest; extra == "test"
Provides-Extra: test

# trvaep [![PyPI version](https://badge.fury.io/py/trvaep.svg)](https://badge.fury.io/py/trvaep)
## Introduction
A pytorch  implementation of trVAE (transfer Variational Autoencoder). trVAE is a deep generative model which learns mapping between multiple different styles (conditions). trVAE can be used for style transfer on images, predicting single-cell perturbations responses and batch removal.
## Getting Started

## Installation

### Installation with pip
To install the latest version from PyPI, simply use the following bash script:
```bash
pip install trvaep
```
or install the development version via pip: 
```bash
pip install git+https://github.com/theislab/trvaep.git
```

or you can first install flit and clone this repository:
```bash
pip install flit
git clone https://github.com/theislab/trvaep
cd trvaep
flit install
```

## Examples
* For simple perturbation prediction check this [example](https://nbviewer.jupyter.org/github/theislab/trvaep/blob/master/example/sample_notebook.ipynb)
 with interferon (IFN)-β stimulation from [Kang et al.](https://www.nature.com/articles/nbt.4042).
 
 * For multi condition perturbation prediction and batch-removal check this [example](https://nbviewer.jupyter.org/github/theislab/trvaep/blob/master/example/multi_condition_sample.ipynb)
 with multiple infections from [Haber et al.](https://www.nature.com/articles/nature24489).
 
 
 

## Reproducing paper results:
In order to reproduce paper results visit [here](https://github.com/Naghipourfar/trVAE_reproducibility).

