Batch correction using scvI on multiple datasets + hyperparameter tuning of an scvI model

I want to perform batch integration on multiple datasets (loaded as separate h5ad files). Is there an exemplar code snippet on how to do this?

Once I’ve loaded and pre-processed the data, what is the best way to rigorously perform hyperparameter tuning of the scVI model?

1 Like

For concatenating and integrating multiple datasets, please refer to this tutorial that combines two datasets.

For an example on how to perform hyperparameter tuning with scVI, please refer to this tutorial