cellcoloc.show_analysis_resultsο
- cellcoloc.show_analysis_results(loaded_images, roi_labels_2d, run_result, display_names=None, optional_region_result=None, viewer=None, layers_to_show=None, replace_existing_layers=True, show_optional_region_image=False)[source]ο
Display or refresh analysis layers in napari.
- Parameters:
layers_to_show β Optional list of logical layer keys to add or refresh. Supported keys are
"cell_image","marker_image","optional_region_image","optional_region_labels","rois","roi_numbers","cell_masks","marker_masks", and"positive_cells". WhenNone, the function renders all standard analysis layers.replace_existing_layers β If
True, existing layers with the same name are removed and added again. This keeps repeated refinement runs from piling up duplicate layers in the same viewer.show_optional_region_image β If
True, the optional third-channel image is shown even when no threshold result object is provided.
Notes
Raw image layers are always shown as the full stack. When
run_result.analysis_z_boundsis set, only the ROI label layer is visually restricted to that z interval so the viewer reflects the active analysis extent without hiding the surrounding image context.