getTissueOutlineCentroid | R Documentation |
Extracts the centroid of the polygon used to outline the whole tissue.
getTissueOutlineCentroid(object, ...)
## S4 method for signature 'SpatialData'
getTissueOutlineCentroid(
object,
method = NULL,
img_name = activeImage(object),
transform = TRUE,
...
)
## S4 method for signature 'HistoImage'
getTissueOutlineCentroid(object, transform = TRUE, ...)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
method |
Character value. Either 'obs' or 'image'. Decides whether
the tissue outline used based on the observations
or the image is used. If |
img_name |
Character value. The name of the image of interest.
If |
transform |
Logical value. Ignored if no images exist in the object. If |
Numeric vector of length two.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.