-
Notifications
You must be signed in to change notification settings - Fork 16
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
how to get histology in SPATA2 #176
Comments
Hello, I am not exactly sure what you need. What is it, that you run that only returns 'histology'? |
There is another problem that has been bothering me for a long time, when I want to use Bayesian for spatial clustering, this error appears.
|
okay, so regarding the spatial segmentation. On the left, you need to create a variable first in which to store the histological labels (a column in the meta data.frame). I refer to these as spatial segmentation variables because you spatially divide the sample into multiple segments. You have not done that yet - at least in the screenshot you provide. Click on "Create New Segmentation Variable" and a pop up will appear which prompts you to enter a name, for instance 'histology' or 'histo_segmentation'. Then, on the left a surface plot appears colored by this variable which will be all grey cause you haven't added any segments so far. THEN you use the Interaction field to repeatedly encircle areas, highlight them, name them and save these labels which should immediately update the plot on the left (Overview). |
regarding bayes space clustering. Which branch are you currently using? master or dev? And what is the output of |
There is a button below the segmentation plot called 'Name' as in "name this segment". Next to it is an empty text input in which you can enter the name of the segment. Then you clik on 'Name' which should save the segment and it should appear colored on the left.
You can only name one segment at a time. In this plot you have created two "outlines". The error message on the right bottom indicates that the second outline is not inside the first one. Only draw a second outline you want to use this outline to to create "holes" in the first outline. Make sure to return the SPATA2 object by closing the app with the green button that says 'Close application'. Furthermore, make sure to reassign the results. |
Regarding the BayesSpace: It is a bug. I'll fix it and let you know once I updated the package. |
Can you install the dev branch with |
R Code: |
|
how to get histology in SPATA2?
I run it but only get NULL> getSpatSegmVarNames(object)#空值,curently only one: "histology"
No segmentation variables have been added. Use 'createSpatialSegmentation()' for that matter.
NULL
i try to draw something:object <- createImageAnnotations(object) or object <- createSpatialSegmentation(object)
but it only be defined one ids like infilitrated_ids! help!
The text was updated successfully, but these errors were encountered: