Skip to main content

Single-cell integrative Analysis via Latent feature EXtraction

Project description

# SCALEX: Single-cell integrative Analysis via latent Feature EXtraction

## Installation #### install from PyPI

pip install scalex

#### install from GitHub

git clone git://github.com/jsxlei/scalex.git cd scalex python setup.py install

scalex is implemented in [Pytorch](https://pytorch.org/) framework. Running scalex on CUDA is recommended if available. Installation only requires a few minutes.

## Quick Start

### 1. Command line

SCALEX.py –data_list data1 data2 –batch_categories batch1 batch2

data_list: data path of each batch of single-cell dataset batch_categories: name of each batch

#### Output Output will be saved in the output folder including: * checkpoint: saved model to reproduce results cooperated with option –checkpoint or -c * adata.h5ad: preprocessed data and results including, latent, clustering and imputation * umap.png: UMAP visualization of latent representations of cells * log.txt: log file of training process

#### Useful options * output folder for saveing results: [-o] or [–outdir] * filter rare genes, default 3: [–min_cell] * filter low quality cells, default 600: [–min_gene] * select the number of highly variable genes, keep all genes with -1, default 2000: [–n_top_genes]

#### Help Look for more usage of scalex

SCALEX.py –help

### 2. API function

from scalex.function import SCALEX adata = SCALEX(data_list, batch_categories)

Function of parameters are similar to command line options. Output is a Anndata object for further analysis with scanpy.

#### Tutorial

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

scalex-0.0.8.tar.gz (16.0 kB view details)

Uploaded Source

Built Distributions

scalex-0.0.8-py3.7.egg (40.4 kB view details)

Uploaded Egg

scalex-0.0.8-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file scalex-0.0.8.tar.gz.

File metadata

  • Download URL: scalex-0.0.8.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for scalex-0.0.8.tar.gz
Algorithm Hash digest
SHA256 da426c993aeee03361846cc962540c0be6d756bf9f7ebd9c4e2f11586f648eea
MD5 08b3fd724c7540e4846fad677be3f33b
BLAKE2b-256 058112e31fa95c82d9e7d922952e264adeb73487ea0293971130f2399c256f24

See more details on using hashes here.

File details

Details for the file scalex-0.0.8-py3.7.egg.

File metadata

  • Download URL: scalex-0.0.8-py3.7.egg
  • Upload date:
  • Size: 40.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for scalex-0.0.8-py3.7.egg
Algorithm Hash digest
SHA256 acde68268896b3723311e73f1a3b7b3b23644c486cbd4a9b2ac2bec2b6c4156d
MD5 104444de84b9ab8c0e2b3b36888486a0
BLAKE2b-256 4ab4dce61ad0e5f7461ed4fb0bc345110a0062a3cd502d7295f7d13a253add53

See more details on using hashes here.

File details

Details for the file scalex-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: scalex-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.7.0

File hashes

Hashes for scalex-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 417fe8af7a3b5fd5a0f54306f269fbc409539954efa1d393d15d88047623bbc9
MD5 b9dce95fda575a40bc0a78bee5424f22
BLAKE2b-256 4475c5e41d91a96d82dcbac44c481c313cf0a38194d8318dfe20ba45c734d730

See more details on using hashes here.

Supported by

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