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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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