angelolab / angelolab/ark-analysis

"Unassigned" label not included in "population_cell_mask.csv" for Mantis

Aperta
#1,141 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Jupyter Notebook
Stelle
108
Fork
31
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
When "population_cell_mask.csv" is created in the Mantis directory, the unassigned cell ID is not included, which results in a cell population confusingly labelled as "Imported Selection #" after opening up the cell masks in Mantis (see screenshot below). I confirmed that these cells labelled as "Imported Selection #" are actually unassigned cells.

An "unassigned" cell population (cells that had no pixel clusters assigned in them) is correctly assigned to the cell masks and correctly assigned in the cell table, but it is missing in "population_cell_mask.csv", which is generated in `plot_utils.create_mantis_dir`.

**Expected behavior**
Add a row to "population_cell_mask.csv" where the unassigned cell ID has the label "unassigned."

**To Reproduce**
Can delete a few rows from `cluster_counts_size_norm` before training the SOM and open up the images in Mantis.

![image](https://github.com/angelolab/ark-analysis/assets/11382352/bb71d529-7c4c-4f4c-af45-f224e74284bb)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.