distToEdge | R Documentation |
Computes the distance from the border of a spatial annotation to the farest data point of the tissue section it is located on.
distToEdge(object, id = idSA(object), unit = getDefaultUnit(object))
object |
An object of class |
id |
Character value specifying the ID of the spatial annotation of interest. If there is only one spatial annotation in the object, the function will default to using it. However, if there are multiple annotations, this argument must be explicitly specified to identify the target annotation. |
unit |
The output unit of the distance measure. |
Distance measure.
whichTissueSection()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.