-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Functionality to prepare matrix for NMF clustering + bug fixes #68
Conversation
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.
Good update Kostia. Regarding the bugs in dplyr pipes, that was completely my mistake. Accidentally swapped all "<-" for "=", thanks for catching this. As for the newly added function, would you consider expanding on the included example? It would've been nice to have an example df to work with as well, what do you think?
Thanks Adam for a review and excellent suggestion! I have included a small matrix sample to be used as example and expanded the usage example with how to get it. It helped me to catch a bug where empty matrix was returned if there were no samples/features to drop. This has been addressed and is now ready for re-review. |
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.
Thanks for including a sample matrix for testing. The function works the intended way when I run it. Approved for merge!
In this PR:
massage_matrix_for_clustering
that will take incoming data frame and output ready-to-go matrix for NMF. It reviews and squishes together CNV+SSM, cleans up overlaps between SSM and HOTSPOT features by giving priority to hotspot mutations, removes features not meeting cutoff for user-defined minimal occurrence, and removes samples without any feature.splendidHeatmap
function as described in issue splendidHeatmap mismatches the features between clusters if metadata is not sorted #67dlpyr
pipes.