scanpy.datasets.blobs
- scanpy.datasets.blobs(n_variables=11, n_centers=5, cluster_std=1.0, n_observations=640, random_state=0)
Gaussian Blobs.
- Parameters:
- n_variables :
int
(default:11
) Dimension of feature space.
- n_centers :
int
(default:5
) Number of cluster centers.
- cluster_std :
float
(default:1.0
) Standard deviation of clusters.
- n_observations :
int
(default:640
) Number of observations. By default, this is the same observation number as in
scanpy.datasets.krumsiek11()
.- random_state :
Union
[None
,int
,RandomState
] (default:0
) Determines random number generation for dataset creation.
- n_variables :
- Return type:
- Returns:
: Annotated data matrix containing a observation annotation ‘blobs’ that indicates cluster identity.