-
Notifications
You must be signed in to change notification settings - Fork 32
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
polygon cell geometry of Baysor segmentation vs Xenium #142
Comments
Also, the xenium sample is a multi tissue array - can baysor handle multi-tissue arrays ? |
Hi @alipirani88 ,
Yes, that's how Baysor usually outputs polygons. It's a variation of a concave hull algorithm.
Regions without prior segmentation are segmented de-novo. If you think that their size is too large, you can either manually provide
Baysor assumes uniform cell sizes, which can be violated in multi-tissue arrays. It can also be violated within the same tissue, but if that's the case see #140. That can be a reason why you see cells of unusual size. Also, in multi-tissue arrays NCV coloring would capture tissue differences instead of cell types. So, it would be better to split the data by tissue before Baysor. |
Hi @VPetukhov, What are your thoughts on cells that are called denovo by Baysor (not called by Xenium)? Specifically, in tissue regions where we dont see any nuclei in their H&E images? |
Hi @alipirani88 , Xenium stains are performed in 2D, so it's possible that there are some cells with nuclei being on a different z-plane than the stain. Some tissues may also have cells without nuclei (like red blood cells). It's also not uncommon that the DAPI/membrane signal doesn't perfectly match to molecule data. Though I don't know reasons for that, and I don't know whether this could happen with H&E. |
Hi @VPetukhov
I ran baysor with the following parameters:
-m 50 -p --prior-segmentation-confidence 0.2 --scale-std 0.8 --scale 5 --save-polygons GeoJSON
I see the cell boundaries are drawn like a polygon compare to xenium cell boundaries which seems to be more uniform. Is this expected from Baysor or did something went wrong during the segmentation?
I also see Baysor finding cells of unusual shapes and size in areas which Xenium segmentation is missing? I am not sure what to make ofit?
I would appreciate your thoughts on it.
The text was updated successfully, but these errors were encountered: