plotStsBarplot.Rd
Displays discrete variables along a trajectory.
plotStsBarplot(
object,
grouping,
id = idST(object),
resolution = getCCD(object) * 2,
unit = getDefaultUnit(object),
round = 2,
clrp = NULL,
clrp_adjust = NULL,
position = "fill",
bar_width = 0.9,
expand_x = c(0.025, 0),
expand_y = c(0.0125, 0),
verbose = NULL,
...
)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Character value. The grouping variable of interest. Use
getGroupingOptions()
to obtain all valid input options.
Distance measure. The resolution
with which the expression gradient is inferred. Defaults are platform specific.
See more in detail section of recSgsRes()
.
Character value. Specifies the desired unit in
which distance measures
or area measures are provided.
Run validUnitsOfLength()
or validUnitsOfArea()
for valid
input options.
Character value. Specifies the color palette to be used to represent
groups of discrete variables. Run validColorPalettes()
to obtain valid
input options.
Named character vector or NULL. If character, it adjusts the color palette that is used to represent the groups. Names of the input vector must refer to the group and the respective named element denotes the color with which to represent the group.
Given to argument expand
of ggplot2:scale_x/y_continuous()
.
Logical. If TRUE
, informative messages regarding
the computational progress will be printed.
(Warning messages will always be printed.)
Used to absorb deprecated arguments or functions.
A ggplot.