ggpLayerEncirclingIAS | R Documentation |
Adds the circular expansion used by the IAS-algorithm of the area of an image annotation to a surface plot.
ggpLayerEncirclingIAS(
object,
id,
distance = NA_integer_,
n_bins_circle = NA_integer_,
binwidth = getCCD(object),
alpha_core = 0,
fill_core = NA,
line_color = "black",
line_size = (line_size_core * 0.75),
line_size_core = 1,
inc_outline = TRUE,
direction = "outwards",
verbose = NULL,
...
)
object |
An object of class |
id |
Character value. The ID of the image annotation of interest. |
distance |
Distance value. Specifies the distance from the border of the
image annotation to the horizon in the periphery up to which the screening
is conducted. (See details for more.) - See details of |
n_bins_circle |
Numeric value or vector of length 2. Specifies how many times the area is buffered with the value
denoted in |
binwidth |
Distance value. The width of the circular bins to which
the barcode-spots are assigned. We recommend to set it equal to the center-center
distance: |
line_color |
Character. Affects color of the main lines of the plot. |
line_size |
Numeric. The size with which to display encircling lines of the area expansion. |
line_size_core |
Numeric. The size with which to display the core outline of the image annotation. |
inc_outline |
Logical. If |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
... |
Used to absorb deprecated arguments or functions. |
ggpLayer*()
-functions return lists of ggproto
objects
that can be added to ggplots via the +
operator. In most of the cases
they are supposed to be added to plots created with the plotSurface*()
family.
object <- downloadPubExample("313_T")
plotImageGgplot(object) +
ggpLayerEncirclingIAS(
object = object,
id = "necrotic_area",
distance = "2.25mmm",
binwidth = "112.5um"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.