-
Notifications
You must be signed in to change notification settings - Fork 63
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
Make louvain an optional dependency #361
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #361 +/- ##
=======================================
Coverage 53.13% 53.13%
=======================================
Files 22 22
Lines 1848 1848
=======================================
Hits 982 982
Misses 866 866
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor change in order of parameters. Otherwise, is leiden already the default?
plot=False, | ||
inplace=True, | ||
res_max, score_max, _ = scib.cl.cluster_optimal_resolution( | ||
adata, label_key="celltype", cluster_key="cluster", return_all=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
order of parameters is different from order in conftest.py
could you make this consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, leiden is the default for the cluster_optimal_resolution
function.
Addresses and closes #360