Multimodal overview#
pyXenium.multimodal is the canonical public surface for joint RNA + protein work.
It is organized into four layers:
loading: prepare anAnnDatawith aligned RNA, protein, spatial coordinates, and optional cluster attachments.analysis: core joint analysis tools such asrna_protein_cluster_analysis,protein_gene_correlation, andProteinMicroEnv.immune_resistance: marker/state/pathway discordance and spatial immune-resistance scoring.workflows: packaged renal validation and pilot workflows with markdown, JSON, CSV, and figure artifacts.
Canonical entrypoints#
load_rna_protein_anndatarna_protein_cluster_analysisprotein_gene_correlationProteinMicroEnvannotate_joint_cell_statescompute_rna_protein_discordancebuild_spatial_nichesscore_immune_resistance_programaggregate_multi_sample_studyrun_validated_renal_ffpe_smokerun_renal_immune_resistance_pilot
Compatibility note#
Older multimodal import paths under pyXenium.analysis, pyXenium.validation, and
pyXenium.io.load_xenium_gene_protein(...) remain available for compatibility only.
New code should import from pyXenium.multimodal.