mantispy.metrics.batch_variance_explained#
- mantispy.metrics.batch_variance_explained(adata, keys, use_rep='X_pca')#
pc_regression()for several covariates, stacked into one frame.- Parameters:
- Return type:
- Returns:
A tidy frame holding one
pc_regressionrow per entry ofkeys.- Raises:
KeyError –
obsmholds nothing underuse_rep.