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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scClassifier2-0.0.11.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.11.tar.gz
Algorithm Hash digest
SHA256 c722c0f47a3e96bf883e6470c8f48641a167ce1732b7a9b391f555498e94e8f1
MD5 359c745ed8be32d989eb23d8830dde5a
BLAKE2b-256 9f2f5b419c6e9d05a75183370afb78bd7d6c2ea8e0d6ade1b92b792742049330

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scClassifier2-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a9b8b111484317d3992a409fef39c3b2b77b9aa20dee35ae642e67caa5a82003
MD5 f0f092b2e6aba00cecbfa7b5a8afb401
BLAKE2b-256 08810e18eaf2bd476f4cc39890b16f6e23d0f0d87226c24f434bb2c2e699c513

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