adata2: str
Second dataset.
batch_category1: str
First batch annotation.
batch_category2: str
Second batch annotation.
batch_key: str
Add the batch annotation to obs using this key.
adata_concat = adata1.concatenate(adata2, batch_key="BATCH", batch_categories=['1', '2'])