omicverse.datasets.blobs¶
- omicverse.datasets.blobs(n_variables=11, n_centers=5, cluster_std=1.0, n_observations=640, random_state=0)[source]¶
Gaussian Blobs dataset.
- Parameters:
n_variables (int) – Feature dimension of generated data.
n_centers (int) – Number of Gaussian cluster centers.
cluster_std (float) – Standard deviation of each Gaussian cluster.
n_observations (int) – Number of synthetic observations (cells).
random_state (int) – Random seed passed to sklearn data generation.
- Returns:
Synthetic AnnData with
obs['blobs']storing cluster labels.- Return type:
AnnData