addTissueOutlineBase | R Documentation |
Adds polygons to a base plot.
addTissueOutlineBase(object, ...)
## S4 method for signature 'HistoImage'
addTissueOutlineBase(
object,
by_section = FALSE,
persp = "coords",
line_alpha = 0.9,
line_color = "black",
line_size = 1,
line_type = "solid",
scale_fct = 1,
init = list(),
rect = FALSE,
...
)
scale_fct |
A factor with which the vertice positions are scaled. |
x , y |
Numeric vectors representing x- and y-coordinates of the vertices of the polygon. |
poly |
Data.frame of at least two variables named x and y
representing the coordinates of the vertices of the polygon. If
variable section exists multiple polygons are plotted based
on the number of different groups in this variable. Overwrites |
color |
Color of the lines. |
size |
Width of the lines. |
Output of graphics::polygon()
is directly plotted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.