spatialdata.concatenate#
- spatialdata.concatenate(sdatas, region_key=None, instance_key=None, **kwargs)#
Concatenate a list of spatial data objects.
- Parameters:
sdatas (
list
[SpatialData
]) – The spatial data objects to concatenate.region_key (
Optional
[str
] (default:None
)) – The key to use for the region column in the concatenated object. If all region_keys are the same, theregion_key
is used.instance_key (
Optional
[str
] (default:None
)) – The key to use for the instance column in the concatenated object.kwargs (
Any
) – Seeanndata.concat()
for more details.
- Return type:
- Returns:
: The concatenated
spatialdata.SpatialData
object.