Skip to main content

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

  1. Install pytorch according to your computational platform
  2. Install dependencies: pip3 install numpy scipy pandas scikit-learn pyro-ppl matplotlib

Prepare matrix and label files

  1. 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.
  2. The label file can be either the CSV format or the TSV format, one label per line.
  3. Data gives some examples of matrix and label files.

Tutorial

Please refer to the PBMC68k example.

Usage

usage: scClassifier    [-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


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

Uploaded Source

Built Distribution

scClassifier2-0.0.13-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file scClassifier2-0.0.13.tar.gz.

File metadata

  • Download URL: scClassifier2-0.0.13.tar.gz
  • Upload date:
  • Size: 17.6 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

Hashes for scClassifier2-0.0.13.tar.gz
Algorithm Hash digest
SHA256 252f59a742770fc4e8bd1b698be6775d2a5c8586f9be1b1bcc36c8689dc3c709
MD5 8161c37f94463edb01f59614962206ac
BLAKE2b-256 cf3f8019ffcfb44aa8c171d78a39988d93dfcdcb9b76fdcde45f05e878fdebb6

See more details on using hashes here.

File details

Details for the file scClassifier2-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: scClassifier2-0.0.13-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

Hashes for scClassifier2-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cbef07efcf6d91c3588f78da6548e5bbcc5c28a677746f8ae628864dbfca48a6
MD5 279323c01385473860ea5d8406a36155
BLAKE2b-256 a00185225bf7989ee61f54126d20f079564b27ec42af9d0803e92c688aea0c7c

See more details on using hashes here.

Supported by

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