# 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
Metadata
Release files for scalex 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scalex-0.0.8.tar.gz | 16.0 kB | Without provenance | Details for scalex-0.0.8.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scalex-0.0.8-py3.7.egg | Legacy Egg format | - | - | Details for scalex-0.0.8-py3.7.egg |
| scalex-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for scalex-0.0.8-py3-none-any.whl |
Total release size: 75.1 kB
Release files / scalex-0.0.8.tar.gz
| Download URL | scalex-0.0.8.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da426c993aeee03361846cc962540c0be6d756bf9f7ebd9c4e2f11586f648eea
|
|
BLAKE2b-256 checksum How to use checksums |
058112e31fa95c82d9e7d922952e264adeb73487ea0293971130f2399c256f24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / scalex-0.0.8-py3.7.egg
| Download URL | scalex-0.0.8-py3.7.egg |
|---|---|
| Size | 40.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
acde68268896b3723311e73f1a3b7b3b23644c486cbd4a9b2ac2bec2b6c4156d
|
|
BLAKE2b-256 checksum How to use checksums |
4ab4dce61ad0e5f7461ed4fb0bc345110a0062a3cd502d7295f7d13a253add53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / scalex-0.0.8-py3-none-any.whl
| Download URL | scalex-0.0.8-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
417fe8af7a3b5fd5a0f54306f269fbc409539954efa1d393d15d88047623bbc9
|
|
BLAKE2b-256 checksum How to use checksums |
4475c5e41d91a96d82dcbac44c481c313cf0a38194d8318dfe20ba45c734d730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for scalex 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.