Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running scib.metrics.metrics() produces dataframe of NaNs #385

Open
EvanDMee opened this issue Jun 15, 2023 · 1 comment
Open

Running scib.metrics.metrics() produces dataframe of NaNs #385

EvanDMee opened this issue Jun 15, 2023 · 1 comment

Comments

@EvanDMee
Copy link

Hello,

I am attempting to run scib metrics with a merged object and an integrated object both of which were created in Seurat and imported for scib as .h5ad. When I try to run scib.metrics.metrics() with these objects it outputs a dataframe with NaNs for each metric and no error message. What could be going wrong here? I do not see any documentation as to what the function expects for each argument so I cannot determine what I may be doing wrong.

Thanks!

@EvanDMee EvanDMee changed the title Running scib.metrics.metrics() produces datafram of NaNs Running scib.metrics.metrics() produces dataframe of NaNs Jun 15, 2023
@WhatMelonGua
Copy link

hi, I have also been exploring the use of sciB recently.
Have you set the correct parameters for the functions 'scib.metrics.metrics()'? such as [hvg_score_ , nmi_, ari_ ......]
you can see more about this function by the website below:
https://scib.readthedocs.io/en/latest/api/scib.metrics.metrics.html#scib.metrics.metrics

And during my use, you can set the parameters to True(like xxx_=True) to get that metric.
If you don't set them,they are default False,then the function will fill the False metric with NA
I don't know if that's the wrong parameter settings makes it happened.

for example,I set nmi_ [one of the Parameter] to True, then I'll get a dataframe with nmi_(a value),and the metrics left are all NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants