-
Notifications
You must be signed in to change notification settings - Fork 12
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
graph conn #61
graph conn #61
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #61 +/- ##
==========================================
+ Coverage 90.00% 90.25% +0.25%
==========================================
Files 17 18 +1
Lines 570 585 +15
==========================================
+ Hits 513 528 +15
Misses 57 57
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Parameters | ||
---------- | ||
X | ||
Array of shape (n_cells, n_cells) with non-zero values |
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.
do you want to assert the k nearest neighbors?
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.
left as a todo as we have to make global utils for this
tab = pd.value_counts(comps) | ||
clust_res.append(tab.max() / sum(tab)) | ||
|
||
return np.mean(clust_res) |
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.
the cell types are weighted equally regardless of the proportions?
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.
yeah.... :(
Fixes #11