Skip to main content

monocle2-python

PyPI

Python port of the R monocle2 single-cell trajectory toolkit.

Installation

pip install monocle2-python                # from PyPI

For local development:

git clone https://github.com/Bio-Babel/Monocle2-python.git
cd Monocle2-python
pip install -e ".[dev]"

Quickstart

import monocle2py as m2

cds = m2.load_hsmm_fpkm()
m2.estimate_size_factors(cds)
m2.estimate_dispersions(cds)
m2.reduce_dimension(cds, reduction_method="DDRTree")
m2.order_cells(cds)
m2.plot_cell_trajectory(cds, color_by="State")

Tutorials

Four runnable notebooks that reproduce the R monocle2 tutorials live under tutorials/:

Notebook Dataset
V2_1_HSMM.ipynb HSMM myoblast differentiation
V2_2_lung_BEAM.ipynb Lung epithelium BEAM walkthrough
V2_3_Olsson_corrected.ipynb Olsson myeloid progenitors (WT + KOs)
V2_4_Paul.ipynb Paul hematopoiesis

License

Artistic-2.0, matching the upstream R monocle2.

Metadata

Release files for monocle2-python 2.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monocle2-python 2.9.0
File Size Uploaded Provenance Actions
monocle2_python-2.9.0.tar.gz 68.6 kB Without provenance Details for monocle2_python-2.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for monocle2-python 2.9.0
File Interpreter ABI Platform Actions
monocle2_python-2.9.0-py3-none-any.whl Python 3 none any Details for monocle2_python-2.9.0-py3-none-any.whl

Total release size: 152.7 kB

Release files / monocle2_python-2.9.0.tar.gz

Download URL monocle2_python-2.9.0.tar.gz
Size 68.6 kB
Tags Source
SHA-256 checksum
How to use checksums
beb753fa901159965925c96254865db8f86e04932724bd9b97b472b91885d5b2
BLAKE2b-256 checksum
How to use checksums
dfb9a5a0d2ea7a55cd436b902d6db0374392bc7e272e1541ec762fc4123f484a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / monocle2_python-2.9.0-py3-none-any.whl

Download URL monocle2_python-2.9.0-py3-none-any.whl
Size 84.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24757aa44140d209490821804d9f1d5ae5a1e28a68d5b5f4e9b89430f322725e
BLAKE2b-256 checksum
How to use checksums
ba9037b6ca1ee0d80e59a9d19c464db4ec26523946efc88aa2fc4d60467cb7a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for monocle2-python 2.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.9.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page