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.11.tar.gz (17.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scalex-0.0.11-py3.8.egg (42.3 kB view details)

Uploaded Egg

scalex-0.0.11-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scalex-0.0.11.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for scalex-0.0.11.tar.gz
Algorithm Hash digest
SHA256 98369b4d987264b8850775dfdfbbe84c171c5dbe1c88c8f8ee838cab64a63e5a
MD5 f2212b6ed6e1ceea7b916166eff71928
BLAKE2b-256 ca358962dd310f4663ac6a6f2830da2f71ee6bb6c8710cdd9ab18188e1a36747

See more details on using hashes here.

File details

Details for the file scalex-0.0.11-py3.8.egg.

File metadata

  • Download URL: scalex-0.0.11-py3.8.egg
  • Upload date:
  • Size: 42.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for scalex-0.0.11-py3.8.egg
Algorithm Hash digest
SHA256 5470781f99444d730f348f4e528317b03ea1fb2d625e51fd336b0b14a02641ae
MD5 ad55e0679b00e6b70a6ba93afdcf75a7
BLAKE2b-256 ef90878af25af84beb911548fe6dc2b3d5922238539f76b5e4af52443102fa93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scalex-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for scalex-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9fac4c0646cfccee18d0aa13e477a0cdb67f6080d785c0df1a38a24acdb229
MD5 ca201abde7db38b2232d5ef65ed47b06
BLAKE2b-256 e6e26a3f0ddaf8100312f7228526c758457d8d2c89aa5628b06417bab0b850e7

See more details on using hashes here.

Supported by

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