Faming Zhao
Faming Zhao
Indeed, "index" information in old version was helpful for matching score results with sample ID, such as "score = score[order(score$Index),]". However, I found this information was removed in new version...
``` >>> adata_scvi=ov.single.batch_correction(adata,batch_key='sampleID', ... methods='scVI',n_layers=2, n_latent=30, gene_likelihood="nb") ...Begin using scVI to correct batch effect Traceback (most recent call last): File "", line 1, in File "miniconda3/envs/ov/lib/python3.10/site-packages/omicverse/single/_batch.py", line 91, in batch_correction...