Conversation
|
@simonmfr please check implementation of clustering scores. I compute leiden clustering per sample. "leiden" is not in |
|
The reason why leiden clustering labels don't appear in I think a clustering resolution of 10 is not ideal for metric evaluation, therefore I would suggest keeping the current behavior unchanged. This mean running the clustering step twice, but with different resolutions:
|
|
I just added scripts for general stats extraction & plotting (all present in adata obs). I noticed that intensities (DAPI / PolyT) were not computed for the following methods (aging cohort): vpt_2D_DAPI_nuclei, vpt_3D_DAPI_PolyT_nuclei, vpt_3D_DAPI_nuclei, Cellpose_1_Merlin, vpt_2D_DAPI_PolyT, vpt_2D_DAPI_PolyT_nuclei, vpt_3D_DAPI_PolyT |
Thanks for highlighting. These are all our VPT/Merlin methods, which contain a separate DAPI/PolyT quantification. We need to format these correctly; I've added it to our to-dos as #43. |
|
Re cleanup for this PR: I propose to remove the following notebooks: There might also be old metrics functions, maybe we can find them once we remove the notebooks by checking which code in the repo references them. If we don't use it at all it can go imo. |
|
|
Todos:
|
|
I updated the MECR and marker f1 computation to include samples. The plots now aggregate per gene, then per cell type showing samples as points and ordered by mean sample value. I realised that MECR is lower is better, so we'll have to *-1 this for the summary table. |
|
Agent-Logs-Url: https://github.com/simonmfr/cellseg-benchmark/sessions/99ed110c-3933-4f0e-9681-cc0245530075 Co-authored-by: simonmfr <70199914+simonmfr@users.noreply.github.com>
Debuggt Ficture F1 score Setup of __init__-file Relative imports of cellseg_benchmark functions
Draft PR for finalising metrics.
Basic structure for every metric:
compute_andplot_function incellseg_benchmark/metrics. Script inscripts/metricsfor every metric. The script creates a csv file with rows for every sample & method. All scripts can be run on a specific set of methods / all methods at once and have an overwrite flag. The script also plots figures using theplot_function. Finally, there is a notebook for every method to interactively compute methods & plots.Metrics to implement
marker-to-cell proximity Metric: marker-to-cell proximity #45--
Clean up: