Uses the design of a heatmap to visualize feature dynamics over time across a grouping variable of interest.
plotTimeHeatmap(
object,
variable,
across = "condition",
across_subset = NULL,
relevel = NULL,
phase = "all",
n_cells = 100,
clrp = NULL,
clrp_adjust = NULL,
color = NA,
colors = viridis::viridis(15),
smooth = TRUE,
smooth_span = 0.25,
arrange_rows = "maxima",
set_seed = NULL,
verbose = TRUE,
...,
in_shiny = FALSE
)
object | A valid cypro object. |
---|---|
across | Character value, character vector or NULL (see details for more). Specifies the grouping variable of interest. Use |
across_subset | Character vector or NULL. Specifies the particular groups
of interest the grouping variable specified in argument If set to NULL all of them are chosen. You can prefix groups you are NOT interested in with a '-'. (Saves writing if there are more groups you are interested in than groups you are not interested in.) Use |
relevel | Logical value. If set to TRUE the input order of |
phase | Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
n_cells | Numeric calue. Determines the number of cells that are randomly chosen from every group to be displayed. Useful to keep plots insightful and aesthetically pleasing. |
clrp | Character value. Specifies the color palette to be used to represent
groups of discrete variables. Run |
clrp_adjust | 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. |
colors | A vector of colors that is used as the heatmap's color spectrum. |
smooth | Logical. If set to TRUE the values are smoothed. |
smooth_span | NUmeric value. Denotes the smoothing span used. |
arrange_rows | Character value. Either 'maxima' or 'none'. |
verbose | Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
... | Additional arguments given to |