Method used to extract a Staffli
object from the tools slot of a
Seurat
object
GetStaffli.Rd
Method used to extract a Staffli
object from the tools slot of a
Seurat
object
Examples
# Load example data
se_mbrain <- readRDS(system.file("extdata/mousebrain", "se_mbrain", package = "semla")) |>
LoadImages()
#>
#> ── Loading H&E images ──
#>
#> ℹ Loading image from /private/var/folders/91/twz8ld_x3f98sr9yc2hq9xpn47blx2/T/RtmpQDm3p7/temp_libpathed1b712617f8/semla/extdata/mousebrain/spatial/tissue_lowres_image.jpg
#> ℹ Scaled image from 600x565 to 400x377 pixels
#> ℹ Saving loaded H&E images as 'rasters' in Seurat object
# Fetch Staffli object from a Seurat object
staffli_object <- GetStaffli(se_mbrain)