How to properly subset by FOV #862
Replies: 3 comments 1 reply
|
So, trying to make some progress on a workaround, and it looks like it is easy enough to drop the extra images: # dropping images
gobj@images = gobj@images[1]
gobj@largeImages = gobj@largeImages[1:3]However, the issue is the features/polygons. Looks like I am then trying to filter A thought just occurred, if I subset the expression matrix, and the features/cell_polygons remain, are the downstream analyses (spatial network, cell-cell interaction, etc) going to include any features outside of my subset expression matrix? |
|
@rbutleriii I believe that @jiajic has been working on a tutorial on the different options of subsetting spatial data and we hope to put that online in the near future. For the images we currently don't really have a solution and your workaround setting those to NULL is probably a good idea for now. |
|
This has been largely solved in v4.2.1, it will automatically mask the additional images if you use |



This has been largely solved in v4.2.1, it will automatically mask the additional images if you use
subsetGiottoeven though it still includes them.