Skip to main content
Ctrl+K

drvi-py

API

  • Model
    • drvi.model.DRVI
  • Plotting
    • drvi.utils.plotting.plot_latent_dimension_stats
    • drvi.utils.plotting.plot_latent_dims_in_umap
    • drvi.utils.plotting.plot_latent_dims_in_heatmap
    • drvi.utils.plotting.plot_interpretability_scores
    • drvi.utils.plotting.make_balanced_subsample
    • drvi.utils.plotting.cmap
  • Metrics
    • drvi.utils.metrics.DiscreteDisentanglementBenchmark
    • drvi.utils.metrics.nn_alignment_score
    • drvi.utils.metrics.discrete_scaled_mutual_info_score
    • drvi.utils.metrics.spearman_correlation_score
    • drvi.utils.metrics.most_similar_averaging_score
    • drvi.utils.metrics.latent_matching_score
    • drvi.utils.metrics.most_similar_gap_score
  • Internal (developmental)
    • drvi.internal.DRVI
    • drvi.internal.drvi.DRVIModule
    • drvi.internal.drvi.DecoderDRVI
    • drvi.internal.drvi.enable_residual
    • drvi.internal.drvi.LatentStats
    • drvi.internal.drvi.StreamingPairwiseMI

General

  • Changelog
  • Contributing guide
  • References

Usage

  • Tutorials
    • General training and interpretability pipeline
    • Transfer learning to new dataset (query to reference mapping)
    • Finding rare (un-annotated) cell types with DRVI
    • Identifying cell types of DRVI factors
    • Identifying biological processes of DRVI factors
    • Identifying DRVI factors with LLM tools
    • Curating DRVI factor annotations
    • Porting a DRVI model (drvi-py < 0.3) to scvi.external.DRVI (scvi-tools)
  • Repository
  • Show source
  • .rst

drvi.utils.plotting.cmap

drvi.utils.plotting.cmap#

previous

drvi.utils.plotting.make_balanced_subsample

next

Metrics

By Amir Ali Moinfar

© Copyright 2026, Amir Ali Moinfar..