Skip to main content

omicverse-facing wrapper for Bio-Babel/Monocle3-python — Python port of R monocle3.

Project description

py-Monocle3

omicverse-facing wrapper for Bio-Babel/Monocle3-python — a comprehensive Python port of R monocle3 (Cao et al. Nature 2019 / Trapnell et al. Nat Biotech 2014).

Rather than duplicate Bio-Babel's excellent work, this package re-exports their full API under the pymonocle3 namespace + adds omicverse-conformant parity-validation harness so the trajectory benchmark treats it like the other ports.

Install

pip install pymonocle3-bio

This pulls in monocle3-python + its transitive deps (hnswlib, leidenalg, openTSNE, umap-learn, pheatmap-python, igraph).

Quick-start

import pymonocle3 as m3

adata = m3.load_packer_embryo()
m3.preprocess_cds(adata, num_dim=50)
m3.reduce_dimension(adata)
m3.cluster_cells(adata)
m3.learn_graph(adata)
m3.order_cells(adata, root_pr_nodes=["Y_1"])
m3.plot_cells(adata, color_cells_by="pseudotime")

Function coverage

This package re-exports the full Bio-Babel/Monocle3-python API:

  • preprocess_cds, align_cds, reduce_dimension, cluster_cells
  • learn_graph, order_cells, pseudotime, principal_graph
  • graph_test, top_markers, find_gene_modules, aggregate_gene_expression
  • plot_cells, plot_cells_3d
  • transfer_cell_labels, fix_missing_cell_labels
  • All accessors / projections / data loaders

See Bio-Babel/Monocle3-python for the full R parity report.

License

Artistic-2.0, matching upstream monocle3 / monocle3-python.

Citation

Cao, J. et al. The single-cell transcriptional landscape of mammalian organogenesis. Nature 566, 496–502 (2019). Trapnell, C. et al. The dynamics and regulators of cell fate decisions are revealed by pseudotemporal ordering of single cells. Nat Biotechnol 32, 381–386 (2014).

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

pymonocle3_bio-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

pymonocle3_bio-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file pymonocle3_bio-0.1.0.tar.gz.

File metadata

  • Download URL: pymonocle3_bio-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pymonocle3_bio-0.1.0.tar.gz
Algorithm Hash digest
SHA256 619d3776010e30422e53a6b5c0b9bac79cce7960f408179c594213c3288c8e58
MD5 0064d912e561f779a46c88dcf283149d
BLAKE2b-256 71843e2286e28b549fa6a02f50fb3f74732979ce0e5b7967f659e9cbbdc3c7ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocle3_bio-0.1.0.tar.gz:

Publisher: publish.yml on omicverse/py-Monocle3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocle3_bio-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pymonocle3_bio-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pymonocle3_bio-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92237dc865c8d33453e10269ccb12fc205b8c8d6d8ad27092f5ff227b36b50e6
MD5 ffd52c925963ac8286edaa12535b2af6
BLAKE2b-256 c5306b5211b31b1e43007a9c8573c32dfbb85f593629d09886bb83528449b5b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocle3_bio-0.1.0-py3-none-any.whl:

Publisher: publish.yml on omicverse/py-Monocle3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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