include_tissue_outline | R Documentation |
Ensures section specific processing of observations in relation by identifying the outline of the tissue section (or -sections in case of multiple tissue sections per sample). Additionally, allows to relate observations to the spatial position and extent of image annotations.
include_tissue_outline(
input_df,
outline_df = NULL,
coords_df = NULL,
spat_ann_center = NULL,
sas_circles = FALSE,
ccd = NULL,
outside_rm = TRUE,
inside_if = c(1, 2),
opt = "concaveman",
buffer = 0,
...
)
input_df |
A data.frame that contains at least numeric x and y variables. |
outline_df |
A data.frame that contains the ouline/hull of all tissue sections. Must contain variables x, y and section. |
sas_circles |
Logical value. If |
opt |
Either 'concaveman'' or 'chull'. Defines with which function the tissue outline is computed. |
buffer |
Distance measure with which to buffer the tissue outline data.frame. |
... |
Used to absorb deprecated arguments or functions. |
Filtered input data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.