plot.hstats_matrix {hstats} | R Documentation |
Plots "hstats_matrix" Object
Description
Plot method for objects of class "hstats_matrix".
Usage
## S3 method for class 'hstats_matrix'
plot(
x,
top_m = 15L,
fill = getOption("hstats.fill"),
swap_dim = FALSE,
viridis_args = getOption("hstats.viridis_args"),
facet_scales = "fixed",
ncol = 2L,
rotate_x = FALSE,
err_type = c("SE", "SD", "No"),
...
)
Arguments
x |
An object of class "hstats_matrix". |
top_m |
How many rows should be plotted? |
fill |
Fill color of ungrouped bars. The default equals the global option
|
swap_dim |
Switches the role of grouping and facetting (default is |
viridis_args |
List of viridis color scale arguments, see
|
facet_scales |
Value passed as |
ncol |
Passed to |
rotate_x |
Should x axis labels be rotated by 45 degrees? |
err_type |
The error type to show, by default "SE" (standard errors). Set to
"SD" for standard deviations (SE * sqrt(m_rep)), or "No" for no bars.
Currently, supported only for |
... |
Passed to |
Value
An object of class "ggplot".