qc_image#
- squidpy.experimental.pl.qc_image(sdata, *, image_key, metrics=None, figsize=None, return_ax=False, **kwargs)[source]#
Plot the QC metrics
qc_image()computed.One panel per metric, each showing a spatial view, a KDE plot and summary statistics.
- Parameters:
- sdata
SpatialData SpatialData object holding the QC results.
- image_key
str Image key the metrics were computed for.
- metrics QCMetric |
list[QCMetric] |None(default:None) Metrics to plot, by the names
qc_image()lists. If None, plots every metric found.- figsize
tuple[int,int] |None(default:None) Figure size as
(width, height); derived from the panel count if None.- return_ax
bool(default:False) Whether to return the axes array.
- **kwargs
Any Passed to
spatialdata_plot’srender_shapes.
- sdata
- Returns:
ndarray|None– The axes array ifreturn_ax=True, otherwise None.