Closed CarlinLiao closed 1 year ago
I will close because although this seems desirable (to pre-empt possible bugs related to duplicate markers), it is not very urgent considering that there seem to be no functional issues cause by this list
. If you come up with an adequate data type, feel free to reopen and implement.
Presently
PhenotypeCriteria
is defined as follows:https://github.com/nadeemlab/SPT/blob/dda3cbdd392afdacd4d9ff9e2bcf1a79d5dd17df/spatialprofilingtoolbox/db/exchange_data_formats/metrics.py#L43-L46
Ideally, the markers should instead be held in a data structure that
tuple[str,...]
accomplishes the 1 and 2, while aset[str]
does 3. Afrozen set
would handle 1 and 3. For all of them, we might have to create a custom data structure. Maybe we drop criterion 3 and just usetuple
for 1 and 2.