Open srivarra opened 1 year ago
@ngreenwald
This looks good. Only thing about using the previously generated QC metrics: those metrics were generated using the original FOV names. So they would be FOV1, FOV2, etc. The renamed FOVs will be R1C5, R5C2, etc, without the original name. You can use the logic in notebook 5 to reverse engineer the naming scheme and find the original name, and hence the original QC metric, but given that this computation doesn't take very long, it may be okay to just regenerate those metric calculations with the new name.
Maybe for a first pass assume there isn't already generated QC data, and if computation ends up being slow, add the option to find the original name? Up to.
Good to proceed!
@ngreenwald
This is for internal use only; if you'd like to open an issue or request a new feature, please open a bug or enhancement issue
Instructions
This document should be filled out prior to embarking on any project that will take more than a couple hours to complete. The goal is to make sure that everyone is on the same page for the functionality and requirements of new features. Therefore, it's important that this is detailed enough to catch any misunderstandings beforehand. For larger projects, it can be useful to first give a high-level sketch, and then go back and fill in the details. For smaller ones, filling the entire thing out at once can be sufficient.
Relevant background
The location of the image on a slide is a source of variation for image acquisition. We need a reproducible way to analyze if and how image location correlates with signal intensity. Refer to angelolab/ark-analysis#277.
Design overview
The notebook will be after Notebook 5 - Rename and Reorganize.
qc_metric
should be able to use"Total Intensity"
,"99.9% intensity value"
,"Non-zero Mean Intensity"
.fov-15-R6C4.tiff
)qc_comp.py
.)Code mockup
Provide a more detailed description of how the project will implement the above functionality. This should describe the logical flow of the program, detailing how the different parts interact with each other. It should list the specific helper functions that will be created, either with a description of what they'll do, or with psuedo-code for how they'll be implemented.
Add the following functions to
qc_comp.py
:Add the following functions to
qc_metrics_plots.py
:Required inputs
The inputs are the bin files, tiff files generated from the bin files (contain the Row, Column info), existing qc metric files, and paths to the reorganized files.
Output files
Outputs should be contained within the Jupyter notebook, plot both heatmaps, and violin plots, of how the Row #, Column # effect any one of the QC metric variations.
Timeline Give a rough estimate for how long you think the project will take. In general, it's better to be too conservative rather than too optimistic.
Estimated date when a fully implemented version will be ready for review: Friday, Dec 16, 2022.
Estimated date when the finalized project will be merged in: Monday, Dec 19, 2022.