-
Notifications
You must be signed in to change notification settings - Fork 27
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
Confusion on constructing SpatialData object from the ground up #203
Comments
Hi, thanks for reaching out!
Yes, you can plot a specific ROI even if the table contains multiple ROIs. The For very large objects, manually subsetting before plotting may be more performant (but if performance is an issue please report and we can optimize the automatic subsetting). An example of subsetting the data for a dataset similar to yours is found here (3 ROIs, 1 table). Minor note, in the next release
I suggest to have one coordinate system per sample, and in addition one coordinate system per ROI. Currently the only way to proceed is looping over, for instance this is what we do in this notebook in the function
We don't have such function, please use indeed |
Another comment. In your case you may benefit from what we discussed in this issue: scverse/spatialdata#398, what do you think about it? |
Hi, I am putting this in the
-io
package git page, but let me know if it's better to go in the general package page.I'm dealing with a set of mIF data that have been previously processed (similar to mcmicro, but not exactly). The data set consists of:
I have previously been able to translate, with a lot of trial & error, this format of data set into Squidpy compatible AnnData, and do analysis and plotting, on individual ROIs, sample, etc.
With the new SpatialData object, it's not clear to me how I should best approach constructing it. Here are my questions:
library_id
andlibrary_key
. Is there an equivalent concept in SpatialData? For example, if I'm rendering an Image (a ROI), a set of cell Shapes, and want to color it with a meta data from the table (AnnData), from a SpatialData object containing multiple ROIs, how would the function determine the correct/corresponding data to pull from each different modules? Is it primarily through unique coordinate systems?set_transformation
multiple times?Hopefully this is clear. I'm looking through the different example datasets, but I haven't found one that seems to emulate this dataset format.
The text was updated successfully, but these errors were encountered: