[BUG] Errors are shown when you select a gene for which there are no modeling results
lcolladotor opened this issue · 0 comments
lcolladotor commented
Using https://github.com/LieberInstitute/spatialDLPFC/blob/6c572d57533ae4830ccb7364be91d4838f9d77cd/code/deploy_app_k16/app.R#L71 the app shows weird errors when selecting a gene for which there are no modeling results for the particular model type and test selected.
We are encountering this issue on an app that for k = 16 clusters, meaning that there choose(k, 2) * 2
is equal to 72. That's a lot of combinations and genes, so we are using sig_genes_extract_all(n = 4000)
, and thus that's why not all genes are present. I had not anticipated this use case.
First reported by @abspangler13.