MIMIC-II IAC Patient Trajectory and Fate#

In the previous introduction tutorial, we explored the MIMIC-II IAC dataset, comprising electronic health records (EHR) of 1776 patients in 46 features, and identified patient group-specific clusters using ehrapy. Please go through the MIMIC-II IAC introduction before performing this tutorial to get familiar with the dataset.

As a next step, we want to determine patient trajectories and patient fate. The goal is to detect terminal states and the corresponding origins based on pseudotime. Real time very rarely reflects the actual progression of a disease. When measurements are done in a single snapshot or cross-sectional setting, some patients will show no sign of disease (e.g. healthy or recovered), some are at the onset of a specific disease and some are in a more severe stage or even at the height. For an appropriate analysis, we are interested in a continuous transition of states, such as from healthy to diseased to death, for which the real time is therefore not available or informative. Identification of transition states can be achieved by identifying source states (e.g. healthy) and then calculating pseudotime from this state. Based on Markov chain modelling, we uncover patient dynamics using CellRank. For more details, please read CellRank paper 1 and CellRank paper 2.

In this tutorial we will be using CellRank to:

  1. Simulate patient trajectories with random walks.

  2. Compute patient macrostates and infer fate probabilities towards predicted terminal states.

  3. Identify potential driver features for each identified trajectory.

  4. Visualize feature trends along specific patient states, while accounting for the continuous nature of fate determination.

Before performing this tutorial, we highly recommend to read the extensive and well written CellRank documentation, especially the general tutorial chapter is useful. If you are not familiar with single-cell data, do not be afraid and replace cells with patients visits and genes with features in your mind.


This tutorial requires cellrank to be installed. As this packages is not a dependency of ehrapy, it must be installed separately.

%env NUMBA_CPU_NAME=generic

Before we start with the patient fate analysis of the MIMIC-II IAC dataset, we set up our environment including the import of packages and preparation of the dataset.


Environment setup#

Ensure that the latest version of ehrapy is installed. A list of all dependency versions can be found at the end of this tutorial.

import anndata as ad
import cellrank as cr
import ehrapy as ep
import ehrdata as ed
import matplotlib.pyplot as plt
import numpy as np

We are ignoring a few warnings for readability reasons.

import warnings

warnings.filterwarnings("ignore")

We set a flag for numba to improve reproducibility across different machines:


Getting and preprocessing the MIMIC-II dataset#

This tutorial is based on the MIMIC-II IAC dataset which was previously introduced in the MIMIC-II IAC introduction tutorial.

edata = ed.dt.mimic_2()
edata
EHRData object with n_obs × n_vars × n_t = 1776 × 46 × 1
    shape of .X: (1776, 46)

The MIMIC-II dataset has 1776 patients with 46 features.
Now that we have our EHRData object ready, we need to perform the standard preprocessing steps as performed in the introduction tutorial again before we can use ehrapy and CellRank for patient fate analysis.

ed.infer_feature_types(edata, binary_as="numeric")
! Feature  was detected as categorical features stored numerically. Adjust using `ed.replace_feature_types` if needed.
 Detected feature types for EHRData object with 1776 obs and 46 vars
╠══ 📅 Date features
╠══ 📐 Numerical features
║   ╠══ abg_count
║   ╠══ afib_flg
║   ╠══ age
║   ╠══ aline_flg
║   ╠══ bmi
║   ╠══ bun_first
║   ╠══ cad_flg
║   ╠══ censor_flg
║   ╠══ chf_flg
║   ╠══ chloride_first
║   ╠══ copd_flg
║   ╠══ creatinine_first
║   ╠══ day_28_flg
║   ╠══ day_icu_intime_num
║   ╠══ gender_num
║   ╠══ hgb_first
║   ╠══ hosp_exp_flg
║   ╠══ hospital_los_day
║   ╠══ hour_icu_intime
║   ╠══ hr_1st
║   ╠══ icu_exp_flg
║   ╠══ icu_los_day
║   ╠══ iv_day_1
║   ╠══ liver_flg
║   ╠══ mal_flg
║   ╠══ map_1st
║   ╠══ mort_day_censored
║   ╠══ pco2_first
║   ╠══ platelet_first
║   ╠══ po2_first
║   ╠══ potassium_first
║   ╠══ renal_flg
║   ╠══ resp_flg
║   ╠══ sapsi_first
║   ╠══ sepsis_flg
║   ╠══ service_num
║   ╠══ sodium_first
║   ╠══ sofa_first
║   ╠══ spo2_1st
║   ╠══ stroke_flg
║   ╠══ tco2_first
║   ╠══ temp_1st
║   ╠══ wbc_first
║   ╚══ weight_first
╚══ 🗂️ Categorical features
    ╠══ day_icu_intime (7 categories)
    ╚══ service_unit (3 categories)
%%capture
edata = ep.pp.encode(edata, autodetect=True)
ep.pp.knn_impute(edata, n_neighbors=5, backend="scikit-learn", var_names = edata.var_names[edata.var["feature_type"] == "numeric"])
ep.pp.log_norm(edata, vars=["iv_day_1", "po2_first"], offset=1)
ep.pp.pca(edata, svd_solver="randomized", random_state=42)
ep.pp.neighbors(edata, transformer="sklearn", n_pcs=10)
ep.tl.umap(edata)
ep.tl.leiden(edata, resolution=0.3, key_added="leiden_0_3")
plt.rcParams["figure.figsize"] = (5, 4)
plt.rcParams["figure.dpi"] = 100
ep.pl.umap(edata, color=["leiden_0_3"], title="Leiden 0.3", size=20)
../../_images/ffc725a092282595b135e90cef7ce466179ea4b62bfe3d425b3ca9d491d527d5.png

This UMAP embedding is exactly the same as previously computed in the MIMIC-II IAC introduction tutorial. Now we continue with the patient fate analysis.


Analysis using ehrapy and CellRank#

Depending on the data it may not always be possible to clearly define a cluster or specific patient visits as the origin or terminus of a trajectory. Working with single-cell data simplifies matters since the detection of stem cells generally signifies the start of cell differentiation.

In this tutorial, we will define a patient cluster as the origin (root cluster) and explore possible terminal states.

Pseudotime calculation#

As the root cluster for pseudotime calculation we choose cluster 0 since patients in that cluster do not show very severe comorbidities and features yet. Then we calculate the Diffusion Pseudotime.

edata = ad.AnnData(edata)
edata.uns["iroot"] = np.flatnonzero(edata.obs["leiden_0_3"] == "0")[0]
ep.tl.dpt(edata)

Now we define the kernel, compute the transition matrix and plot a projection onto the UMAP.

Determining patient fate with a PseudotimeKernel#

The PseudotimeKernel computes direct transition probabilities based on a KNN graph and pseudotime.

The KNN graph contains information about the (undirected) conductivities among patients, reflecting their similarity. Pseudotime can be used to either remove edges that point against the direction of increasing pseudotime, or to downweight them.

from cellrank.kernels import PseudotimeKernel

pk = PseudotimeKernel(edata, time_key="dpt_pseudotime")
pk.compute_transition_matrix(threshold_scheme="soft")
INFO     Computing transition matrix based on pseudotime                                                           
100%|██████████| 1776/1776 [00:00<00:00, 4684.73cell/s]
INFO         Finish (0.47s)                                                                                        
PseudotimeKernel[n=1776, dnorm=False, scheme='soft', b=10.0, nu=0.5]
plt.rcParams["figure.figsize"] = (5, 4)
plt.rcParams["figure.dpi"] = 100
pk.plot_projection(basis="umap", color="leiden_0_3")
INFO     Projecting transition matrix onto 'umap'                                                                  
INFO     Adding `adata.obsm['T_fwd_umap']` (0.39s)                                                                 
../../_images/37104929a0170be3a4a26361b157a5e56442e7d496c911782ca92d1e2fc96ae3.png

We observe two main trajectories originating from cluster 0 going to clusters 2, 3, and 5. Let’s check the metedata again.

ep.pl.umap(edata, color="censor_flg", title="Censored or Death (0 = death, 1 = censored)")
ep.pl.umap(
    edata,
    color="mort_day_censored",
    title="Day post ICU admission of censoring or death",
)
../../_images/317c8748c6193931cc079d6446061e7740fe986e0038723fc016a9dacaf34078.png ../../_images/be061fee883a2ddf30e5e1b68c7b3692bd4cbf999315f26a57414721f80a03f3.png

Cluster 4 and 1 consist of patients that deceased, while cluster 5 includes patients with a high day post ICU admission.

Simulating transitions with random walks#

Cellrank makes it easy to simulate the behavior of random walks from specific clusters. This allows us to not only visualize where the patients end up, but also roughly how many in which clusters after a defined number of iterations. We can either just start walking…

pk.plot_random_walks(
    seed=0,
    n_sims=100,
    start_ixs={"leiden_0_3": ["0"]},
    legend_loc="right",
    dpi=100,
    show_progress_bar=False,
)
INFO     Simulating 100 random walks of maximum length 444                                                         
INFO         Finish (4.31s)                                                                                        
INFO     Plotting random walks                                                                                     
../../_images/328c6af60f04956c8642afd06afed389c50f230c2e49b028c4814a00cca60f28.png

… or set a number of required hits in one or more terminal clusters. Here, we require 50 hits in cluster 2 or 5.

pk.plot_random_walks(
    seed=0,
    n_sims=100,
    start_ixs={"leiden_0_3": ["0"]},
    stop_ixs={"leiden_0_3": ["2", "5"]},
    successive_hits=50,
    legend_loc="right",
    dpi=100,
    show_progress_bar=False,
)
INFO     Simulating 100 random walks of maximum length 444                                                         
INFO         Finish (3.83s)                                                                                        
INFO     Plotting random walks                                                                                     
../../_images/d0537075e1e78543ebec07ecdf7d17b88c01dfa1d6c46c5766f56cf616745000.png

Black and yellow dots indicate random walk start and terminal patient visits, respectively.

Determining macrostates and terminal states#

To find the terminal states of cluster 0, well will use an estimator to predict the patient fates using the above calculated transition matrix. The main objective is to decompose the patient state space into a set of macrostates, that represent the slow-time scale dynamics of the process and predict terminal states. Here, we will use an Generalized Perron Cluster Cluster Analysis (GPCCA) estimator.

As a first step we try to identify macrostates in the data using the fit() function.

# Check if pseudotime was computed
print("Pseudotime key exists:", "dpt_pseudotime" in edata.obs)
if "dpt_pseudotime" in edata.obs:
    print("Pseudotime range:", edata.obs["dpt_pseudotime"].min(), "to", edata.obs["dpt_pseudotime"].max())
    print("Any NaN values:", edata.obs["dpt_pseudotime"].isna().sum())
Pseudotime key exists: True
Pseudotime range: 0.0 to 1.0
Any NaN values: 0
g = cr.estimators.GPCCA(pk)
g.fit(cluster_key="leiden_0_3")
g.macrostates_memberships
INFO     Computing eigendecomposition of the transition matrix                                                     
INFO     Adding `adata.uns['eigendecomposition_fwd']`                                                              
                `.eigendecomposition`                                                                              
             Finish (0.13s)                                                                                        
WARNING  Unable to import `petsc4py` or `slepc4py`. Using `method='brandts'`                                       
WARNING  For `method='brandts'`, dense matrix is required. Densifying                                              
INFO     Computing Schur decomposition                                                                             
INFO     Adding `adata.uns['eigendecomposition_fwd']`                                                              
                `.schur_vectors`                                                                                   
                `.schur_matrix`                                                                                    
                `.eigendecomposition`                                                                              
             Finish (5.23s)                                                                                        
INFO     Computing 3 macrostates                                                                                   
INFO     Adding `.macrostates`                                                                                     
                `.macrostates_memberships`                                                                         
                `.coarse_T`                                                                                        
                `.coarse_initial_distribution                                                                      
                `.coarse_stationary_distribution`                                                                  
                `.schur_vectors`                                                                                   
                `.schur_matrix`                                                                                    
                `.eigendecomposition`                                                                              
             Finish (0.35s)                                                                                        
401
0.0447650.6308050.324430
0.0382850.0000020.961712
0.0058820.0000000.994117
0.0808870.8886740.030438
0.0401220.0000030.959876
0.0172200.0000010.982779
0.0316710.0000020.968327
0.0428060.0000040.957190
0.0527320.0000030.947265
0.0819470.8932220.024832
.........
0.0122480.0331550.954597
0.0820400.8942210.023739
0.3720670.0000230.627910
0.2962900.0000180.703692
0.0734250.8379720.088603
0.0196020.0000010.980397
0.0772900.8595820.063129
0.0516820.6850970.263221
0.0735850.8000630.126352
0.0226740.0216440.955682

1776 cells x 3 lineages

g.predict_terminal_states()
g.plot_macrostates(which="terminal")
INFO     Adding `adata.obs['term_states_fwd']`                                                                     
                `adata.obs['term_states_fwd_probs']`                                                               
                `.terminal_states`                                                                                 
                `.terminal_states_probabilities`                                                                   
                `.terminal_states_memberships                                                                      
             Finish`                                                                                               
../../_images/fafe0cb49c84c225a745fd7e4110f45a3156951c8196739985698f855b44c4eb.png
g.plot_macrostates(which="terminal", same_plot=False)
../../_images/0e636d8860c9ebd8eb0d8f1cf56f5f1791be8add9b95218f26d02d6305ea08f3.png

As a next step we will calculate the fate probabilities. For each patient visit, this computes the probability of being absorbed in any of the terminal states by aggregating over all random walks that start in a given patient visit and end in some terminal population.

g.compute_fate_probabilities(solver="direct", use_petsc=False)
g.plot_fate_probabilities()
INFO     Computing fate probabilities                                                                              
INFO     Adding `adata.obsm['lineages_fwd']`                                                                       
                `.fate_probabilities`                                                                              
             Finish (0.36s)                                                                                        
../../_images/5fed6fa91efd2d201fe898f479cff5bb05470a86963349d8dacf673dd66d317c.png

The plot above combines fate probabilities towards all terminal states, each patient visit is colored according to its most likely fate, color intensity reflects the degree of fate priming.

g.plot_fate_probabilities(same_plot=False)
../../_images/680d2fd836146d933d863bbf00e64c1b0d6eda57e2da9fdcba21b9cd904bd980.png

We can also visualize the fate probabilities jointly in a circular projection where each dot represents a patient visit, colored by cluster labels. Patient visits are arranged inside the circle according to their fate probabilities, fate biased visits are placed next to their corresponding corner while undetermined patient fates are placed in the middle.

edata.obsm.keys()
KeysView(AxisArrays with keys: X_pca, X_umap, X_diffmap, T_fwd_umap, schur_vectors_fwd, macrostates_fwd_memberships, term_states_fwd_memberships, lineages_fwd)
cr.pl.circular_projection(edata, keys="leiden_0_3", legend_loc="right")
../../_images/c3f3c069649767f336d08edba9896869bdd0f1caf5f65ba59f17adb3ce8002c7.png

Identification of driver features#

We uncover putative driver features by correlating fate probabilities with features using the compute_lineage_drivers() method. In other words, if a feature is systematically higher or lower in patient visits that are more or less likely to differentiate towards a given terminal state, respectively, then we call this feature a putative driver feature.

We calculate these driver features for our lineages:

%%capture
plt.rcParams["figure.figsize"] = (3, 3)
plt.rcParams["figure.dpi"] = 100
for lineage in g.macrostates_memberships._names:
    drivers = g.compute_lineage_drivers(lineages=lineage)
    edata.obs[f"fate_probs_{lineage}"] = g.fate_probabilities[lineage].X.flatten()

    ep.pl.umap(
        edata,
        color=[f"fate_probs_{lineage}"] + list(drivers.index[:8]),
        color_map="viridis",
        s=50,
        ncols=3,
        vmax="p96",
    )
INFO     Adding `adata.varm['terminal_lineage_drivers']`                                                           
                `.lineage_drivers`                                                                                 
             Finish (2.42s)                                                                                        
../../_images/a424153307efc2617a9f0f020e50b8daac591f515789123127c9990291338d70.png
INFO     Adding `adata.varm['terminal_lineage_drivers']`                                                           
                `.lineage_drivers`                                                                                 
             Finish (0.01s)                                                                                        
../../_images/92ad84af61635a72a1d2eb78dab3683d3c5b7692e65a8cd935f9b72a17fcc39b.png
INFO     Adding `adata.varm['terminal_lineage_drivers']`                                                           
                `.lineage_drivers`                                                                                 
             Finish (0.00s)                                                                                        
../../_images/8cc5c5307819ea46e9057c3dbc869cd35cbf41da728b6806f637330c2c900da0.png

The lineage 1_1 seems to have a lot of patients that deceased in hospital, are of high age and had a high platelet measurement, while lineage 1_2 consists of patients that deceased in hospital, had a high first SAPS I and SOFA score and lineage 5 consists of patients with a high number of days after ICU release.


Conclusion#

In this tutorial we applied CellRank and ehrapy to identify patient visit trajectories from selected root clusters, computed macrostates of clusters and pointed out features that are driving those trajectories. Following that, we visualized feature trends across the pseudotime for the patient trajectories. In particular, we inspected trajectories of patients originating from cluster 0, which was defined by less severe features, and identified 3 major trajectories. Two trajectories (2_1 and 2_2) were terminated in a bad outcome cluster and were driven by severity features such as age, death and comorbidities.

As a next tutorial, we suggest to have a closer look at our survival analysis, continue with that tutorials or go back to our tutorial overview page.


References#

  • Raffa, J. (2016). Clinical data from the MIMIC-II database for a case study on indwelling arterial catheters (version 1.0). PhysioNet. https://doi.org/10.13026/C2NC7F.

  • Raffa J.D., Ghassemi M., Naumann T., Feng M., Hsu D. (2016) Data Analysis. In: Secondary Analysis of Electronic Health Records. Springer, Cham

  • Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., … & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.

  • Marius Lange, Volker Bergen, Michal Klein, Manu Setty, Bernhard Reuter, Mostafa Bakhti, Heiko Lickert, Meshal Ansari, Janine Schniering, Herbert B. Schiller, Dana Pe’er, and Fabian J. Theis. Cellrank for directed single-cell fate mapping. Nat. Methods, 2022. doi:10.1038/s41592-021-01346-6.

  • Lars Velten, Simon F. Haas, Simon Raffel, Sandra Blaszkiewicz, Saiful Islam, Bianca P. Hennig, Christoph Hirche, Christoph Lutz, Eike C. Buss, Daniel Nowak, Tobias Boch, Wolf-Karsten Hofmann, Anthony D. Ho, Wolfgang Huber, Andreas Trumpp, Marieke A. G. Essers, and Lars M. Steinmetz. Human haematopoietic stem cell lineage commitment is a continuous process. Nature Cell Biology, 19(4):271–281, 2017. doi:10.1038/ncb3493.

  • Bergen, V., Lange, M., Peidli, S. et al. Generalizing RNA velocity to transient cell states through dynamical modeling. Nat Biotechnol 38, 1408–1414 (2020). https://doi.org/10.1038/s41587-020-0591-3

  • Haghverdi, L., Büttner, M., Wolf, F. et al. Diffusion pseudotime robustly reconstructs lineage branching. Nat Methods 13, 845–848 (2016). https://doi.org/10.1038/nmeth.3971


Package versions#

!pip list

Hide code cell output

Package                          Version                             Editable project location
-------------------------------- ----------------------------------- -------------------------
absl-py                          2.4.0
aiohappyeyeballs                 2.6.1
aiohttp                          3.13.3
aiosignal                        1.4.0
anndata                          0.12.16
annotated-doc                    0.0.4
annotated-types                  0.7.0
anyio                            4.12.1
apex                             0.1
argon2-cffi                      25.1.0
argon2-cffi-bindings             25.1.0
array-api-compat                 1.14.0
arrow                            1.4.0
asttokens                        3.0.1
astunparse                       1.6.3
async-lru                        2.3.0
attrs                            26.1.0
audioread                        3.1.0
autograd                         1.8.0
autograd-gamma                   0.5.0
babel                            2.18.0
beautifulsoup4                   4.14.3
black                            26.3.1
bleach                           6.3.0
bokeh                            3.9.0
Bottleneck                       1.6.0
build                            1.4.0
cellrank                         2.3.1
certifi                          2026.2.25
cffi                             2.0.0
charset-normalizer               3.4.6
click                            8.3.1
cloudpickle                      3.1.2
cmake                            3.31.6
colorcet                         3.2.1
comm                             0.2.3
contourpy                        1.3.3
cryptography                     48.0.0
cuda-bindings                    13.2.0
cuda-pathfinder                  1.4.3
cuda-python                      13.2.0
cuda-tile                        1.1.0
cycler                           0.12.1
Cython                           3.2.4
dask                             2026.3.0
dask-glm                         0.4.0
dask-ml                          2025.1.0
datasets                         4.8.4
dcor                             0.7
debugpy                          1.8.20
decorator                        5.2.1
defusedxml                       0.7.1
dill                             0.4.1
distributed                      2026.3.0
dllist                           2.0.0
dm-tree                          0.1.9
docrep                           0.3.2
docstring_parser                 0.17.0
donfig                           0.8.1.post1
duckdb                           1.5.3
ehrapy                           0.14.0                              /opt/ehrapy
ehrdata                          0.2.1                               /opt/ehrdata
einops                           0.8.2
et_xmlfile                       2.0.0
execnet                          2.1.2
executing                        2.2.1
expecttest                       0.3.0
faiss-cpu                        1.14.2
fast-array-utils                 1.4.1
fastjsonschema                   2.21.2
fdasrsf                          2.6.9
fhiry                            5.2.2
filelock                         3.25.2
findiff                          0.13.1
fknni                            1.3.0
flash_attn                       2.7.4.post1+git5231d95fe1.45164347
fonttools                        4.62.1
formulaic                        1.2.1
fqdn                             1.5.1
frozenlist                       1.8.0
fsspec                           2026.2.0
gast                             0.7.0
gitdb                            4.0.12
GitPython                        3.1.46
google-api-core                  2.30.3
google-auth                      2.53.0
google-cloud-bigquery            3.41.0
google-cloud-core                2.6.0
google-crc32c                    1.8.0
google-resumable-media           2.9.0
googleapis-common-protos         1.75.0
grpcio                           1.81.0
grpcio-status                    1.81.0
h11                              0.16.0
h5py                             3.16.0
hf-xet                           1.4.2
holoviews                        1.22.1
httpcore                         1.0.9
httpx                            0.28.1
huggingface_hub                  1.7.2
hypothesis                       6.130.8
idna                             3.11
igraph                           1.0.0
importlib_metadata               9.0.0
iniconfig                        2.3.0
intel-openmp                     2021.4.0
interface_meta                   2.0.1
ipykernel                        7.2.0
ipython                          9.11.0
ipython_pygments_lexers          1.1.1
isoduration                      20.11.0
isort                            8.0.1
jedi                             0.19.2
Jinja2                           3.0.3
joblib                           1.5.3
json5                            0.13.0
jsonpointer                      3.1.0
jsonschema                       4.26.0
jsonschema-specifications        2025.9.1
jupyter_client                   8.8.0
jupyter_core                     5.9.1
jupyter-events                   0.12.0
jupyter-lsp                      2.3.0
jupyter_server                   2.17.0
jupyter_server_terminals         0.5.4
jupyterlab                       4.5.6
jupyterlab_code_formatter        3.0.3
jupyterlab_pygments              0.3.0
jupyterlab_server                2.28.0
jupyterlab_tensorboard_pro       4.0.0
jupytext                         1.19.1
kiwisolver                       1.5.0
lark                             1.3.1
lazy-loader                      0.5
legacy-api-wrap                  1.5
leidenalg                        0.12.0
librosa                          0.11.0
lifelines                        0.30.3
lightgbm                         4.6.0
lightning-thunder                0.2.7.dev0
lightning-utilities              0.15.3
linkify-it-py                    2.1.0
lintrunner                       0.13.0
llvmlite                         0.46.0
locket                           1.0.0
loompy                           3.0.8
looseversion                     1.3.0
makefun                          1.16.0
Markdown                         3.10.2
markdown-it-py                   4.0.0
MarkupSafe                       3.0.3
matplotlib                       3.10.8
matplotlib-inline                0.2.1
mdit-py-plugins                  0.5.0
mdurl                            0.1.2
miceforest                       6.0.5
missingno                        0.5.2
mistune                          3.2.0
mkl                              2021.1.1
mkl-devel                        2021.1.1
mkl-include                      2021.1.1
ml_dtypes                        0.5.4
mpmath                           1.3.0
msgpack                          1.1.2
multidict                        6.7.1
multimethod                      2.0.2
multipledispatch                 1.0.0
multiprocess                     0.70.19
mypy_extensions                  1.1.0
narwhals                         2.22.0
natsort                          8.4.0
nbclient                         0.10.4
nbconvert                        7.17.0
nbformat                         5.10.4
nest-asyncio                     1.6.0
networkx                         3.6.1
nh3                              0.3.5
ninja                            1.13.0
notebook                         7.5.5
notebook_shim                    0.2.4
numba                            0.64.0
numcodecs                        0.16.5
numpy                            2.1.0
numpy-groupies                   0.11.3
nv-one-logger-core               2.3.1
nv-one-logger-training-telemetry 2.3.1
nvdlfw_inspect                   0.2.2
nvfuser                          0.2.35+git67530f5
nvidia-cuda-runtime-cu13         0.0.0a0
nvidia-cudnn-frontend            1.18.0
nvidia-cutlass-dsl               4.3.5
nvidia-dali-cuda130              2.0.0
nvidia-libnvcomp-cu13            5.1.0.21
nvidia-matmul-heuristics         0.1.0.27
nvidia-ml-py                     13.595.45
nvidia-modelopt                  0.41.0
nvidia-nvimgcodec-cu13           0.7.0.49
nvidia-nvjpeg                    13.0.4.44
nvidia-nvjpeg2k-cu13             0.9.1.47
nvidia-nvtiff-cu13               0.6.0.78
nvidia-resiliency-ext            0.5.0
nvtx                             0.2.15
onnx                             1.18.0
onnx-ir                          0.2.0
onnxscript                       0.6.2
openpyxl                         3.1.5
opt_einsum                       3.4.0
optree                           0.19.0
overrides                        7.7.0
packaging                        25.0
pandas                           2.3.3
pandocfilters                    1.5.1
panel                            1.9.3
panel-material-ui                0.11.2
param                            2.4.0
parso                            0.8.6
partd                            1.4.2
pathspec                         1.0.4
patsy                            1.0.2
pexpect                          4.9.0
pillow                           12.1.1
pip                              26.0.1
platformdirs                     4.9.4
plotly                           6.7.0
pluggy                           1.6.0
polygraphy                       0.49.26
pooch                            1.9.0
prodict                          0.8.22
progressbar2                     4.5.0
prometheus_client                0.24.1
prompt_toolkit                   3.0.52
propcache                        0.4.1
proto-plus                       1.28.0
protobuf                         7.34.1
psutil                           7.2.2
ptyprocess                       0.7.0
PuLP                             3.3.0
pure_eval                        0.2.3
py-pcha                          0.1.3
pyarrow                          23.0.1
pyasn1                           0.6.3
pyasn1_modules                   0.4.2
pybind11                         3.0.2
pybind11-global                  3.0.2
pycocotools                      2.0+nv0.8.1
pycparser                        3.0
pydantic                         2.12.5
pydantic_core                    2.41.5
pydantic-settings                2.14.1
pygam                            0.12.0
Pygments                         2.17.2
pygpcca                          1.0.4
pynndescent                      0.6.0
pyparsing                        3.3.2
pyproject_hooks                  1.2.0
pytest                           8.1.1
pytest-flakefinder               1.1.0
pytest-rerunfailures             16.1
pytest-shard                     0.1.2
pytest-xdist                     3.8.0
python-dateutil                  2.9.0.post0
python-dotenv                    1.2.2
python_hostlist                  2.3.0
python-json-logger               4.0.0
python-utils                     3.9.1
pytokens                         0.4.1
pytorch-lightning                2.6.0
pytz                             2026.2
pyviz_comms                      3.0.6
PyYAML                           6.0.1
pyzmq                            27.1.0
RapidFuzz                        3.14.5
rdata                            1.1.0
referencing                      0.37.0
regex                            2026.2.28
requests                         2.32.5
responses                        0.26.1
rfc3339-validator                0.1.4
rfc3986-validator                0.1.1
rfc3987-syntax                   1.1.0
rich                             14.3.3
rpds-py                          0.30.0
safetensors                      0.7.0
scanpy                           1.12.1
scikit-datasets                  0.2.5
scikit-fda                       0.10.1
scikit-learn                     1.8.0
scikit-misc                      0.5.2
scipy                            1.16.3
scvelo                           0.3.4
scverse-misc                     0.0.7
seaborn                          0.13.2
Send2Trash                       2.1.0
sentry-sdk                       2.49.0
session-info2                    0.4.1
setuptools                       81.0.0
shellingham                      1.5.4
six                              1.16.0
smmap                            5.0.2
sortedcontainers                 2.4.0
soundfile                        0.13.1
soupsieve                        2.8.3
soxr                             1.0.0
sparse                           0.18.0
spin                             0.17
stack-data                       0.6.3
statsmodels                      0.14.6
StrEnum                          0.4.15
sympy                            1.14.0
tableone                         0.9.6
tabulate                         0.10.0
tbb                              2021.13.1
tblib                            3.2.2
tensorboard                      2.20.0
tensorboard-data-server          0.7.2
tensorrt                         10.16.0.72
terminado                        0.18.1
texttable                        1.7.0
thefuzz                          0.22.1
threadpoolctl                    3.6.0
timeago                          1.0.16
tinycss2                         1.4.0
tokenizers                       0.22.2
toml                             0.10.2
tomli                            2.4.0
toolz                            1.1.0
torch                            2.11.0a0+a6c236b9fd.nv26.3.46836102
torch_tensorrt                   2.11.0a0
torchao                          0.17.0+gitd9881220
torchdata                        0.11.0
torchmetrics                     1.8.2
torchtitan                       0.2.1+git71517cf6
torchvision                      0.25.0a0+b7d91027.nv26.3.46836102
tornado                          6.5.5
tqdm                             4.67.3
traitlets                        5.14.3
transformer_engine               2.13.0+28777046
triton                           3.6.0+git5d72932fc5.nv26.3
triton_kernels                   1.0.0+git5d72932fc5.nv26.3
tslearn                          0.8.1
typeguard                        4.5.1
typer                            0.24.1
typing_extensions                4.15.0
typing-inspection                0.4.2
tyro                             1.0.10
tzdata                           2025.3
uc-micro-py                      2.0.0
umap-learn                       0.5.12
uri-template                     1.3.0
urllib3                          2.6.3
uv                               0.10.12
wandb                            0.23.1
wcwidth                          0.6.0
webcolors                        25.10.0
webencodings                     0.5.1
websocket-client                 1.9.0
Werkzeug                         3.1.6
wheel                            0.42.0
wrapt                            2.1.2
xarray                           2026.4.0
xxhash                           3.6.0
xyzservices                      2026.3.0
yarl                             1.23.0
zarr                             3.2.1
zict                             3.0.0
zipp                             3.23.0