Skip to content
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

Update spatial geometries vignette #143

Merged
merged 5 commits into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions vignettes/spatial_geometries.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,12 @@ gpoly <- calculateOverlap(gpoly, gimg, verbose = FALSE, progress = FALSE)
Overlaps are stored as a `list` under the `giottoPolygon` `overlaps` slot,
separated by modalities. This list can be retrieved using `overlaps()`.
In the case of overlapped points geometries, the list items are points `SpatVector`
objects. The `poly_ID` column tracks which
objects. The `poly_ID` column tracks which polygon is overlapping the point
feature as designated by `feat_ID` and `feat_ID_uniq`. `NA` values mean that
the feature was not overlapped.

For overlaps intensities, the results are `data.tables` in a nested
list called `intensities`
For overlaps intensities, the results are stored as `data.tables` in a nested
`list` called `intensity` under the main `overlaps` `list`.
```{r}
print(gpoly@overlaps$rna)
print(gpoly@overlaps$intensity)
Expand Down
Loading