a tool for single cell data
Project description
scClassifier2
Deep bag-of-genes model for single cell classification
Citation
Bin Zhou, Fan Yang, Ting Chen, Feng Zeng. Seeing cells as bags-of-genes: a simple deep generative model for platform-independent single cell classification. Submission. 2021
Installation
- Install pytorch according to your computational platform
- Install dependencies:
pip3 install numpy scipy pandas scikit-learn pyro-ppl matplotlib
Prepare matrix and label files
- scClassifier2 accepts as input the log-transformed gene matrix in the MatrixMarket format usually end in ".mtx", where rows are cells and columns are genes.
- The label file can be either the CSV format or the TSV format, one label per line.
- Data gives some examples of matrix and label files.
Tutorial
Please refer to the PBMC68k example.
Usage
usage: scClassifier2.py [-h] [--cuda] [--jit] [-n NUM_EPOCHS] [--aux-loss] [-alm AUX_LOSS_MULTIPLIER] [-enum ENUM_DISCRETE]
[--sup-data-file SUP_DATA_FILE] [--sup-label-file SUP_LABEL_FILE] [--unsup-data-file UNSUP_DATA_FILE]
[--unsup-label-file UNSUP_LABEL_FILE] [-64] [-lt] [--cross-validation-fold CROSS_VALIDATION_FOLD] [-zd Z_DIM]
[-hl HIDDEN_LAYERS [HIDDEN_LAYERS ...]] [-lr LEARNING_RATE] [-dr DECAY_RATE] [-de DECAY_EPOCHS] [-b1 BETA_1]
[-bs BATCH_SIZE] [-rt] [-log LOGFILE] [--seed SEED] [--best-valid-model BEST_VALID_MODEL] [--best-aux-model BEST_AUX_MODEL]
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
scClassifier2-0.0.10.tar.gz
(17.5 kB
view details)
Built Distributions
scClassifier2-0.0.10-py3.9.egg
(38.3 kB
view details)
File details
Details for the file scClassifier2-0.0.10.tar.gz
.
File metadata
- Download URL: scClassifier2-0.0.10.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031087bce4700ab5674e754c37a39633f9dc473ec995c2987d3e0b5630e8befd |
|
MD5 | b96e9e32c139af4ebe66e406f8ca0f50 |
|
BLAKE2b-256 | e0b79adb5c043a88fbf81e183633ab7aa359c27085471c49270e6b3c8b0142a0 |
File details
Details for the file scClassifier2-0.0.10-py3.9.egg
.
File metadata
- Download URL: scClassifier2-0.0.10-py3.9.egg
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0159048416bb938fa8b884598e65792ede4bd0001640aefe9693400f6591c43 |
|
MD5 | 18c6f85ae48fa74186409758fc4d9b19 |
|
BLAKE2b-256 | 2ddc68fead36c632f8a268ab0dc4f377bd3d3502306acfd9c099873c3a399837 |
File details
Details for the file scClassifier2-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: scClassifier2-0.0.10-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb5091e0330aca9244044777eb1f1eb6bf4aa46ce986e5797dd311e222c6ac2a |
|
MD5 | eac72d8deb71367b55653820756ad984 |
|
BLAKE2b-256 | d758ac7db121e02be05419be8e7e2323daf59815909274120f0da40b77a14288 |