STutils.pp.merge_big_cell#
- STutils.pp.merge_big_cell(adata, resolution, prefix, merge_tags, n=30)#
Merge STomics cellbin data to metacell by axis and celltype.
- Args:
adata (AnnData): adata object resolution (str): celltype tag in adata.obs prefix (str): prefix of output file merge_tags (list[str]): tags to merge n (int, optional): cell numbers to merge, defaults to 30
- Return type:
- Returns:
AnnData: merged adata object with resulution and merge_tags