pyXenium.multimodal.protein_gene_correlation#

protein_gene_correlation(adata, transcripts_zarr_path, pairs, output_dir, grid_size=(50, 50), grid_counts=(50, 50), pixel_size_um=0.2125, qv_threshold=20, overwrite=False, auto_detect_cell_units=True)#

Compute spatial correlation between protein intensity and transcript density.

This implementation now reuses pyXenium’s shared Xenium transcript reader so transcript schema handling stays aligned with the main I/O layer.