You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this great tool! We had some questions on how the scib metrics are computed on seurat objects.
We converted seurat objects to h5ad using sceasy in Jupyter through an R environment. Then, we opened these h5ad objects in a Python environment and directly ran the scib metrics wrapper function without any pre-processing. That's when we noticed abnormally low pcr comparison scores, which we believe to be a consequence of recomputing pca & not utilizing the 'X_pca' embedding. Our solution (shown below) was to change recompute_pca to True for both pcr_before & pcr_after and add "embed" = "X_pca" for pcr_before & pcr_after. Do you think we taking the correct approach?
We also noticed that when scale is false, the score is calculated pcr_after - pcr_before instead of pcr_before - pcr_after like the scaled score. Is this a bug?
For what other metrics are PCs being recomputed by default? Would this be an issue for other metrics e.g kbet as well?
Hello,
Thank you for this great tool! We had some questions on how the scib metrics are computed on seurat objects.
We converted seurat objects to h5ad using sceasy in Jupyter through an R environment. Then, we opened these h5ad objects in a Python environment and directly ran the scib metrics wrapper function without any pre-processing. That's when we noticed abnormally low pcr comparison scores, which we believe to be a consequence of recomputing pca & not utilizing the 'X_pca' embedding. Our solution (shown below) was to change recompute_pca to True for both pcr_before & pcr_after and add "embed" = "X_pca" for pcr_before & pcr_after. Do you think we taking the correct approach?
We also noticed that when scale is false, the score is calculated pcr_after - pcr_before instead of pcr_before - pcr_after like the scaled score. Is this a bug?
For what other metrics are PCs being recomputed by default? Would this be an issue for other metrics e.g kbet as well?
Thank you for the help!
The text was updated successfully, but these errors were encountered: