monocle2-python
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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| monocle2_python-2.9.0.tar.gz | 68.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| monocle2_python-2.9.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|