unit-SpatialFeatureExperiment-method: Get unit of a SpatialFeatureExperiment

unit,SpatialFeatureExperiment-methodR Documentation

Get unit of a SpatialFeatureExperiment

Description

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

Usage

## S4 method for signature '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")
SpatialFeatureExperiment::unit(sfe)

pachterlab/SpatialFeatureExperiment documentation built on Dec. 20, 2024, 3:41 a.m.