-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Visualisation] Baysor-like output #69
Comments
Hey @jpark27 thanks for reaching out. you can use the boundary module in segger.validation as the following to generate non-convex cell boundaries, it's the same algorithm impelmented by baysor.
|
Hi, @EliHei2! Many thanks for suggestion. |
Hi. @EliHei2 , I am running the 'Introduction to Segger" from the Tutorial section with the xenium example data. I had the exact same issue as @jpark27 when trying to plot the boundaries. I checked the values in the columns of the segger_transcripts.parquet file (loading with pandas read_parquet function) and the columns 'score', 'segger_cell_id' and "bound' had either NaN or None values across all rows I checked (including rows with assigned cell_IDs). Could this be the reason of the issue? If so, is something wrong when running the segment function that it is not outputting the segger_cell_IDs into the parquet file? Thanks! |
Hi, @EliHei2 ! Hope you been well.
I've been testing
segger-dev
on in-house Xenium dataset as purpose of head-to-head comparison with Baysor.I have final output like following but somehow missing any polygon-masks.
segment( model, dm, save_dir='benchmarks', seg_tag='segger_embedding_1001', transcript_file='transcripts.parquet', receptive_field=receptive_field, min_transcripts=5, cell_id_col='segger_cell_id', use_cc=False, knn_method='cuda', verbose=True, )
I wonder is there any quick way to convert current segger output into polygon-mask as Baysor folks providing?

[segmentation_borders.html]
Any guidancd would be much appreciated!
J
The text was updated successfully, but these errors were encountered: