Single-cell Analysis via Latent feature Extraction universally
Project description
# SCALEX: Single-cell Analysis via latent Feature Extraction Universally
## 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for scalex-0.0.3rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de30cf3dc43d2d50e61b730202ea732ed098dc26b0a086f4e1e467357a85faf |
|
MD5 | defe1b2c0e550e9a71d611897273c8c3 |
|
BLAKE2b-256 | 14c01190d700aebb5c820a0d51fb2e4b0614342d963c113d6b5b43b968525b1e |