- Start a new match file with the 'New match file' button.
- Click "Add experiment" to load the Fall.mat file output by suite2p. This will be the experiment that all others will be aligned to.
- Click "Add experiment" to load the Fall.mat file from another experiment which you expect to have the same cells in it.
- When the control point selection tool opens click some matching cells or other landmarks in the left (baseline experiment) and right (experiment you are adding) windows.
- Once you've clicked cells/landmarks which cover the whole field of view close the control point selection tool.
- You'll then see a comparison of the rois from the 2 sessions.
- Repeat steps 3 - 5 to add all experiments where you want to longitudinally track cells.
- Set the ROI overlap threshold and click 'Auto detect' to find potential matches over all experiments.
- Click 'Show all' to show putative matches over all sessions.
- Click validate and follow instructions in figure window to confirm cell by cell that the cells which have been matched over the sessions look the same as each other. 'ROI surround pixels' sets how much of the field of view surrounding the roi is show to help check it is the same cell.
- Click 'Show valid' to show all of the cells you have visually inspected.
- Click 'Save match file' to save what you have done. The saved file can be reloaded to work more on,
- The same file an be loaded into matlab and has a field 'roiMatchData.allSessionMapping' which contains a matrix where rows are longitudinally identified cells and columns are sessions/separate experiments.
- The cell ID numbers in roiMatchData.allSessionMapping refer to the cells output by suite2p which have been classified as valid in the suite2p gui (found in Fall.iscell). i.e. cell ID number 8 in roiMatchData.allSessionMapping is the 8th valid cell output by suite2p
- The cell #s in roiMatchData.allSessionMappingPyIndex refer to the Suite2p ROI#s using python indexing (first index = 0).
- The cell #s in roiMatchData.allAutoDetectedCellsPyIndex refer to the Suite2p ROI#s using python indexing (first index = 0) of ALL the cells auto detected before validation.
forked from ransona/ROIMatchPub
-
Notifications
You must be signed in to change notification settings - Fork 0
sarahapark/ROIMatchPub
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Match suite2p ROIs between imaging sessions
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- MATLAB 100.0%