Skip to main content

Python wrapper of MALLET for LDA analysis on single-cell data

Project description

scmallet

Python wrapper of MALLET for LDA analysis on single-cell data.

MALLET is the LDA backend chosen by pycistopic. The implementation in this package has several difference than pycistopic:

  1. Improved paralization.
  2. Allow train LDA model with cell subset and then inference ramaining cells. This is nicely supported by MALLET itself.
  3. Allow the training process to be resumable.
  4. Work with anndata.

Installation

You need to have Python 3.9 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install scmallet:

  1. Install the latest release of scmallet from PyPI:
pip install scmallet
  1. Install the latest development version:
pip install git+https://github.com/lhqing/scmallet.git@main

Usage

See example usage here: https://github.com/lhqing/scmallet/blob/main/tests/example.ipynb

Citation

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

scmallet-0.1.2.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scmallet-0.1.2-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file scmallet-0.1.2.tar.gz.

File metadata

  • Download URL: scmallet-0.1.2.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for scmallet-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5a7be27e1c542529ff651808edd704ae894e01c4a82de6102cbba28f24700284
MD5 49bf271abd9c59489a0a57d98dcfb713
BLAKE2b-256 dd73972f1be2a7006cb4df75f5ab4fa8370537118ea85942d8be55196956acf9

See more details on using hashes here.

File details

Details for the file scmallet-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: scmallet-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for scmallet-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 183feecc31007631d9e6b96c30d92f716ec67fe82e365c91caa591a9393331de
MD5 88236722142ee2170f97e0fad3febeec
BLAKE2b-256 a0a745b83f94300af1b04784d3f90ec8099a9d7b6a1b6814af2c5c09c5be3ecc

See more details on using hashes here.

Supported by

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