getTissueOutlineDf | R Documentation |
Extracts the polygons necessary to outline the tissue. See vignette about tissue outline for more information.
getTissueOutlineDf(object, ...)
## S4 method for signature 'SPATA2'
getTissueOutlineDf(
object,
method = "obs",
img_name = activeImage(object),
by_section = TRUE,
section_subset = NULL,
transform = TRUE,
...
)
## S4 method for signature 'SpatialData'
getTissueOutlineDf(
object,
method = NULL,
img_name = activeImage(object),
by_section = TRUE,
section_subset = NULL,
transform = TRUE
)
## S4 method for signature 'HistoImage'
getTissueOutlineDf(
object,
by_section = TRUE,
section_subset = NULL,
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 |
by_section |
Logical value. If |
section_subset |
Character vector or |
transform |
Logical value. Ignored if no images exist in the object. If |
Data.frame of vertices with x- and y-coordinates. If by_section = TRUE
,
the data.frame contains an additional variable which indicates the tissue section
which the polygon to which the vertex belongs outlines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.