This function gets physical size of pixels in each resolution of a OME-TIFF
pyramid in BioFormatsImage.
Examples
library(SFEData)
fp <- tempfile()
dir_use <- XeniumOutput("v1", file_path = fp)
#> see ?SFEData and browseVignettes('SFEData') for documentation
#> downloading 1 resources
#> retrieving 1 resource
#>
#> loading from cache
#> The downloaded files are in /private/var/folders/q2/p1t6rgxj5fj32g1dc7dmd49r0000gn/T/Rtmp4UEbWg/file18083b3610ed/xenium_lr
# RBioFormats null pointer error
try(getPixelSize(file.path(dir_use, "morphology_focus.ome.tif")))
#> [1] 1.7 1.7
getPixelSize(file.path(dir_use, "morphology_focus.ome.tif"))
#> [1] 1.7 1.7
unlink(dir_use, recursive = TRUE)