- definition
a character string of the contrast or image definition used to define this layer.
Can be a simple image name (e.g., 'underlay') or a contrast string (e.g., 'overlay[overlay > 5]'
)
- name
the name of this layer, used for referencing in layer and panel modifications
- outline
A character string indicating the color used to draw outlines in this layer. This is used to set
the outline color, in distinction to outline color mapping: mapping=aes(outline=<variable>)
.
- outline_scale
a ggplot scale_fill_* object used for mapping the fill column to the color of pixels in this layer.
- mapping
the aesthetic mapping of the layer data to the display. Should be an aes() object and supports
outline
(outline color of pixels). Default is aes(outline=NULL)
, which uses a set outline color.
- size
the size of outlines to be drawn in pixel units. Default: 1
- limits
if provided, sets the upper and lower bounds on the scale
- breaks
if provided, a function to draw the breaks on the fill scale
- show_legend
if TRUE, show the fill scale in the plot legend
- interpolate
passes to geom_raster and controls whether the fill is interpolated over continuous space
- unify_scales
if TRUE, when this layer is reused across panels, unify the scales to match
- alpha
a number between 0 and 1 that sets the alpha transparency of this layer. Default: 1
- blur_edge
the standard deviation (sigma) of a Gaussian kernel applied to the edge of this layer to
smooth it. This makes the layer less jagged in appearance and is akin to antialiasing.
- fill_holes
An optional positive integer specifying the size of holes (in pixels) inside clusters
to be filled by nearest neighbor imputation. Default: 0.
- remove_specks
An optional positive integer specifying the size of specks (in pixels) to be removed from each slice prior
to display. Specks are small clusters that may be distracting and contribute to a 'salt and pepper' appearance.
- trim_threads
the minimum number of neighboring pixels (including diagonals) that must be present to keep a pixel.
- dil_ero
the number of pixels to dilate (> 0) or erode (< 0) the outline for display purposes. Default: 0L