Skip to main content

Condition out-of-sample prediction

Project description

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.

Project details


Download files

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

Source Distribution

trVAE-1.1.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

trVAE-1.1.2-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file trVAE-1.1.2.tar.gz.

File metadata

  • Download URL: trVAE-1.1.2.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for trVAE-1.1.2.tar.gz
Algorithm Hash digest
SHA256 28ed78ae087089398d06e0f5f4fcf142ab0568bc84bd8124a6498a8603be7807
MD5 41f69a5b45693598dddd04f1bb119d75
BLAKE2b-256 60dd4538d259c2beae80ce380e262be615b71aa9bb4f51b34f1850e599fb0b53

See more details on using hashes here.

File details

Details for the file trVAE-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: trVAE-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for trVAE-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a4c571f2f2fb8835a3ff8316df550eae0ea89ec2e688f5e5b5fddcc30faeaca6
MD5 aec6d8aa74107bd5b0d8748d6f59cdbe
BLAKE2b-256 7405b373db2be1a2f495a46f321e9ca1b0dc6498817cd09e13844addae887afd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page