scvi_merge¶
- besca.tl.auto_annot.scvi_merge(adata_trains, adata_pred)[source]¶
merges all datasets and stores learnt representation in obsm
- Parameters:
adata_trains (list) – List of training datasets
adata_pred (AnnData) – AnnData object containing testing dataset
adata_train (AnnData) – Merged training datasets with new representation stored in obsm
adata_pred – Test dataset with new representation in obsm
adata_concat (AnnData) – Both adata_train and adata_pred concatenated to one dataset with new representation stored in obsm