sparrow.datasets.cluster_blobs

Contents

sparrow.datasets.cluster_blobs#

sparrow.datasets.cluster_blobs(shape=None, n_cell_types=10, n_cells=20, noise_level_nuclei=None, noise_level_channels=None, region_key='fov_labels', instance_key='cell_ID', image_name='blobs_image', labels_name='blobs_labels', points_name='blobs_points', table_name='table', coordinate_system='global', metadata_cycles=True, seed=None)#

Differs from spatialdata.datasets.make_blobs in that it generates cells with multiple image channels and known ground truth cell types.