- scglue.data.get_metacells(*adatas, use_rep=None, n_meta=None, common=True, seed=0, agg_kws=None)
Aggregate datasets into metacells
AnnData) – Datasets to be correlated
bool) – Whether to return only metacells common to all datasets
int) – Random seed for k-Means clustering
adatas – A list of AnnData objects containing the metacells
When a single dataset is provided, the metacells are clustered with the dataset itself. When multiple datasets are provided, the metacells are clustered jointly with all datasets.