Load image information
LoadImageInfo.Rd
Load image information
See also
Other pre-process:
LoadAndMergeMatrices()
,
LoadAnnotationCSV()
,
LoadImages()
,
LoadScaleFactors()
,
LoadSpatialCoordinates()
,
ReadVisiumData()
,
UpdateImageInfo()
Examples
library(semla)
imgs <-
Sys.glob(paths = paste0(system.file("extdata", package = "semla"),
"/*/spatial/tissue_lowres_image.jpg"))
image_info <- LoadImageInfo(imgs)
image_info
#> # A tibble: 2 × 9
#> format width height colorspace matte filesize density sampleID type
#> <chr> <int> <int> <chr> <lgl> <int> <chr> <chr> <chr>
#> 1 JPEG 565 600 sRGB FALSE 106233 72x72 1 tissue_lowres
#> 2 JPEG 600 541 sRGB FALSE 141710 72x72 2 tissue_lowres