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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scClassifier2-0.0.12.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.12.tar.gz
Algorithm Hash digest
SHA256 26274aa4b45b7157d57813abf86fe0ff9c1ea3f72e047c9daa4960a2ea0744f6
MD5 e7405f5a1b74d4a51416dc9740990988
BLAKE2b-256 e306dd06822b6cfec80692ea5dc4a76da8ee853af954da097a0369a68ec07d1e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scClassifier2-0.0.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 08394434e0f775e00edc7d761d2ab737703cb796d472bcb4cd11fca9cefe6420
MD5 0274fa81540f39f50cece78905a0653d
BLAKE2b-256 0a0fbfc2f835314f69efc7dc2e7f087b80a908753d75bee7043c91ec5cad7665

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