bin2cell.check_bin_image_overlap
- bin2cell.check_bin_image_overlap(adata, img, overlap_threshold=0.9)
Assess the number of bins that fall within the source image coordinate space. If an insufficient proportion are captured then throw an informative error.
Obsoleted by
b2c.actual_vs_inferred_image_shape().Input
- adata
AnnData 2um bin Visium object.
- img
np.array Loaded full resolution morphology image, prior to any cropping/scaling.
- overlap_threshold
float, optional (default: 0.9) Throw the error if fewer than this fraction of bin spatial coordinates fall within the dimensions of the image.
- adata