Skip to contents

Length units can be microns or pixels in full resolution image in SFE objects.

Usage

# S4 method for SpatialFeatureExperiment
unit(x)

Arguments

x

A SpatialFeatureExperiment object.

Value

A string for the name of the unit. At present it's merely a string and udunits is not used.

Examples

library(SFEData)
sfe <- McKellarMuscleData(dataset = "small")
#> see ?SFEData and browseVignettes('SFEData') for documentation
#> loading from cache
SpatialFeatureExperiment::unit(sfe)
#> [1] "full_res_image_pixels"