suite2p icon indicating copy to clipboard operation
suite2p copied to clipboard

Any plans for manual classification of red cells through the GUI?

Open nmlynaryk opened this issue 5 years ago • 5 comments

I see that we can currently view the "mean img chan2" and the "mean img chan2, corr" (this looks like max projection?), and you can change the threshold for calling a cell RED with the number next to the chan2 prob button (though this doesn't produce major changes to my data so far), but I'm wondering if there are any plans to be able to edit the redcell.npy file directly through the GUI, in the same way we edit the iscell.npy by moving cells to the left or right panel? A separate set of panels to manually classify detected ROIs as red or not could be very useful.

nmlynaryk avatar Aug 28 '20 20:08 nmlynaryk

This was a feature in the Matlab version that we should be able to bring back, but it'll probably have to wait a bit.

marius10p avatar Sep 04 '20 16:09 marius10p

Just a remainder that this would be very useful! Thanks! Diego

Diegoalvarezar avatar Oct 18 '21 06:10 Diegoalvarezar

Could you please try to implement it yourself and contribute it back to Suite2p as a pull request?

marius10p avatar Oct 18 '21 12:10 marius10p

@marius10p This feature would also be very helpful for our group. At the Suite2p summer workshop in 2019, you helped one of our lab members add a keyboard shortcut that could change a cell from "red cell" to "not red cell". I attempted to integrate this into the current Suite2p code, but things have changed quite a bit and I am not a Python user, so I was unable to do so.

Here is the script where I found the shortcut, but it might also be referenced in other places that I didn't see: gui2p.zip

Sharing this in the hopes that it can help you or another user attempt to re-include this feature!

marysethomas avatar Oct 22 '21 20:10 marysethomas

Made a pull request here https://github.com/MouseLand/suite2p/pull/785 and here https://github.com/MouseLand/suite2p/pull/786

marysethomas avatar Dec 10 '21 23:12 marysethomas