Agenda

DIscussion and coordination of data analysis of two-photon mesoscope data for the data release manuscript. - @Dedalus9 will present the latest analysis he performed on those datasets. - Others are welcome to share slides if available.

Meeting Recording

Meeting Notes

Mesoscope Data Validation and Quality Control Metrics: Nicholas Rodriguez presented an analysis of motion artifacts and quality control metrics for mesoscope data, with active discussion and feedback from Jerome, Sarah, Farzaneh, Davis, and Karim, focusing on the interpretation, calculation, and application of these metrics for the Allen Institute's data release paper.

Motion Artifact Metrics: Nicholas Rodriguez described the development of a GitHub repository containing two Jupyter notebooks: one providing a guided tour of session data and another focused on motion artifact analysis, including metrics such as mean displacement, registration correlation, and mean displacement slope. The repository also includes visualizations like box plots and scatter plots to assess the impact of motion on data quality.

Segmentation and Metric Calculation: Sarah inquired about the data used for metric calculation, clarifying that Nicholas's analysis was performed on already segmented images. Jerome confirmed that each imaging plane underwent separate motion correction and segmentation, and Nicholas used the output of these processes to assess session quality.

Session Versus Frame Quality Control: Farzaneh asked whether the quality control approach should exclude entire sessions or just problematic frames. Nicholas clarified that his analysis focuses on session-level metrics, and Sarah suggested providing a range of metrics so users can make their own decisions, with Farzaneh emphasizing the need for both group recommendations and user flexibility.

Interpretation of Soma and Dendrite Probabilities: The group discussed the meaning of mean soma probability, with Jerome explaining that it is derived from a classifier trained using ROICAT, and Davis noting that soma and dendrite probabilities often appear as binary outcomes. The discussion included how Z drift and XY motion affect these probabilities and the implications for data quality.

XY and Z Drift Analysis: Sarah and Farzaneh raised questions about the biological relevance of motion artifacts, such as animal behavior and the effect of brain elasticity. Jerome and Karim explained that XY motion is typically corrected, while Z drift is not, and that deeper brain regions may experience more movement. The group discussed thresholds for acceptable motion and the impact on field of view and cell loss.

Suggestions for Improved Metrics: Nicholas and others considered that mean soma probability may not be the best quality metric, especially when cropping due to motion leads to cell loss. Jerome and Sarah suggested alternative metrics, such as SNR (signal-to-noise ratio) and the proportion of frames in which an ROI is detected, to better capture session quality.

Action Items and Next Steps: Jerome asked Nicholas to follow up on Sarah's suggestion to analyze individual somas and the frequency of missing data due to motion. Karim and Jerome requested that Nicholas ensure all metrics are clearly described in the manuscript and provide examples. The group agreed to continue refining metrics and visualizations, with Davis and Farzaneh collaborating on SNR analysis and figure preparation for the data release paper.

Development and Sharing of Analysis Tools: Davis presented visualization tools and scripts for session data exploration, building on Nicholas Rodriguez's notebooks, and discussed with Farzaneh and Jerome how these tools can be used for quality control and manuscript figures.

Visualization of Session Data: Davis demonstrated a Jupyter notebook and HTML-based tool for visualizing functional projections, ROI masks, and traces, allowing users to spot-check noisy ROIs and share results without requiring specialized software. The tool supports exploration of ROI sizes, soma/dendrite distributions, and SNR metrics.

Integration with Existing Notebooks: Davis noted that the visualization tools were built by cloning Nicholas Rodriguez's data loader notebook, ensuring compatibility and facilitating collaborative development. Davis plans to upload scripts and additional notebooks to GitHub for group use.

Application to Manuscript Figures: Jerome provided guidance on which figures would be most useful for the data release paper, emphasizing the importance of SNR distribution plots, the scale of recorded cells, and the relationship between SNR and other metrics. Davis and Farzaneh agreed to coordinate on figure preparation and further tool development.

Manuscript Preparation and Group Coordination: Jerome led a discussion on manuscript structure, figure selection, and group responsibilities, with input from Farzaneh, Davis, Nicholas Rodriguez, and Karim, to ensure comprehensive documentation and user guidance for the data release.

Manuscript Structure and Figures: Jerome outlined the planned structure for the data release paper, including sections on SNR analysis, receptive field analysis, and oddball analysis. The group discussed which metrics and visualizations to include, aiming to balance flexibility for advanced users with clear recommendations for less experienced users.

Documentation of Metrics: Karim and Jerome emphasized the need for clear descriptions of all quality control metrics in the manuscript. Nicholas Rodriguez agreed to review the methods section and suggest improvements or clarifications as needed.

Collaboration and Task Assignment: Farzaneh was identified as the lead for SNR analysis and figure preparation, with Davis and Nicholas Rodriguez supporting tool development and metric exploration. The group agreed to continue discussions and share progress via GitHub and email.

Meeting Scheduling and Future Presentations: Jerome, Lucas, and other participants coordinated upcoming meeting schedules, including potential cancellations and future presentation topics, such as receptive field analysis and comparisons between Mesoscope and other modalities.

Upcoming Meetings: Jerome announced potential cancellation of the next week's meeting due to travel and discussed with Lucas and others the scheduling of future sessions, including a focus on receptive field analysis and coordination with other teams.