troutpy.pl.spatial_transcripts#
- troutpy.pl.spatial_transcripts(sdata, gene_key='gene', gene_list=None, color_key='transcript_type', shapes_key='cell_boundaries', colormap='30colors', boundary_linewidth=0.5, scatter_size=1.0, alpha=0.8, use_roi=False, roi=(0, 20000, 0, 20000), figsize=(8, 8), title='Cell Boundaries + Transcripts')#
Plots a scatter plot of genes with their estimated diffusion coefficient (D_estimated) on the x-axis and a statistical metric (e.g., KS statistic) on the y-axis. Each point is labeled with the gene name.