spac.data_utils.concatinate_regions(regions)[source]

Concatinate data from multiple regions and create new indexes.

Parameters:

regions (list of anndata.AnnData) – AnnData objects to be concatinated.

Returns:

New AnddData object with the concatinated values in AnnData.X

Return type:

anndata.AnnData