ovrlpy.plot_region_of_interest
- ovrlpy.plot_region_of_interest(x, y, coordinate_df, visualizer, integrity_map, signal_map, window_size=30, signal_plot_threshold=5.0, rasterized=True, scalebar=SCALEBAR_PARAMS)
Plot a comprehensive overview of a zoomed-in region of interest.
- Parameters:
x (float) – x coordinate of the region of interest
y (float) – y coordinate of the region of interest
coordinate_df (DataFrame) – DataFrame of gene-annotated molecule coordinates
visualizer (Visualizer) – Visualizer object containing the fitted model
integrity_map (ndarray) – integrity map of the tissue
signal_map (ndarray) – Signal map of the tissue
window_size (int, optional) – Size of the window to display. Defaults to 30.
signal_plot_threshold (float, optional) – Threshold for the signal plot. Defaults to 5.
rasterized (bool, optional) – If True all plots will be rasterized. Defaults to True.
scalebar (dict[str, Any] | None) – If None no scalebar will be plotted. Otherwise a dictionary with additional kwargs for
matplotlib_scalebar.scalebar.ScaleBar. By defaultovrlpy.SCALEBAR_PARAMS