Skip to main content

trVAE PyPI version Build Status

Introduction

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

Installation

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+https://github.com/theislab/trvae.git

or you can first install flit and clone this repository:

git clone https://github.com/theislab/trVAE
cd trVAE
pip install -r requirements
python setup.py install 

Examples

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

Reproducing paper results:

In order to reproduce paper results visit here.

Metadata

Release files for trVAE 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trVAE 1.1.2
File Size Uploaded
trVAE-1.1.2.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trVAE 1.1.2
File Interpreter ABI Platform
trVAE-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 48.4 kB

Release files / trVAE-1.1.2.tar.gz

Download URL trVAE-1.1.2.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
28ed78ae087089398d06e0f5f4fcf142ab0568bc84bd8124a6498a8603be7807
BLAKE2b-256 checksum
How to use checksums
60dd4538d259c2beae80ce380e262be615b71aa9bb4f51b34f1850e599fb0b53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / trVAE-1.1.2-py3-none-any.whl

Download URL trVAE-1.1.2-py3-none-any.whl
Size 26.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4c571f2f2fb8835a3ff8316df550eae0ea89ec2e688f5e5b5fddcc30faeaca6
BLAKE2b-256 checksum
How to use checksums
7405b373db2be1a2f495a46f321e9ca1b0dc6498817cd09e13844addae887afd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page