Closed quentinblampey closed 3 weeks ago
That's an interesting corner case! Thank you for the detailed report. Indeed, I see now that estimate_scale_from_centers = false
is not processed as expected. I will fix it for the next release.
Thanks @VPetukhov, let me know!
This is fixed in v0.7.0. Please, see the changelog for more details.
Thank you @VPetukhov, I'll give it a try!
Hello @VPetukhov,
Thanks again for Baysor, it is a really efficient tool. I have an issue in the rare case when I don't have enough transcript count per prior cell (as mentioned in this issue). The error is the following:
The error indicates to "specify scale manually", which I do, but it still fails. I know we shouldn't have so few transcripts, but this can happen in Sopa when one patch is on the edge of the slide. How to prevent this error? Or, at least, if there is not enough transcript, can it return an output with 0 segmentated cells instead of failing?
Full config details
```sh [data] exclude_genes = "Blank*" force_2d = true min_molecules_per_cell = 10 x = "x" y = "y" z = "z" gene = "gene" min_molecules_per_gene = 0 min_molecules_per_segment = 3 confidence_nn_id = 6 [segmentation] scale = 6 scale_std = "35%" prior_segmentation_confidence = 0.75 estimate_scale_from_centers = false n_clusters = 4 iters = 500 n_cells_init = 0 nuclei_genes = "" cyto_genes = "" new_component_weight = 0.2 new_component_fraction = 0.3 ```