dynamo.pp.integrate

dynamo.pp.integrate(adatas, batch_key='slices', fill_value=0)[source]

Concatenating all anndata objects.

Parameters:
  • adatas (List[AnnData]) – AnnData matrices to concatenate with.

  • batch_key (str) – the key to add the batch annotation to obs.

  • fill_value (Union[int, float]) – Scalar value to fill newly missing values in arrays with.

Return type:

AnnData

Returns:

The concatenated AnnData, where adata.obs[batch_key] stores a categorical variable labeling the batch.