Skip to content

Commit

Permalink
Use batch_hvg in pcr metric
Browse files Browse the repository at this point in the history
  • Loading branch information
lazappi committed Jan 17, 2025
1 parent 695f78f commit de6f44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/pcr/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

print('compute score', flush=True)
score = pcr_comparison(
adata_solution[:, adata_solution.var_names.isin(adata_integrated.var_names)],
adata_solution[:, adata_solution.var["batch_hvg"]],
adata_integrated,
embed='X_emb',
covariate='batch',
Expand Down

0 comments on commit de6f44c

Please sign in to comment.