plot.hstats {hstats} | R Documentation |
Plot Method for "hstats" Object
Description
Plot method for object of class "hstats".
Usage
## S3 method for class 'hstats'
plot(
x,
which = 1:3,
normalize = TRUE,
squared = TRUE,
sort = TRUE,
top_m = 15L,
zero = TRUE,
fill = getOption("hstats.fill"),
viridis_args = getOption("hstats.viridis_args"),
facet_scales = "free",
ncol = 2L,
rotate_x = FALSE,
...
)
Arguments
x |
Object of class "hstats". |
which |
Which statistic(s) to be shown? Default is |
normalize |
Should statistics be normalized? Default is |
squared |
Should squared statistics be returned? Default is |
sort |
Should results be sorted? Default is |
top_m |
How many rows should be plotted? |
zero |
Should rows with all 0 be shown? Default is |
fill |
Fill color of ungrouped bars. The default equals the global option
|
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? |
... |
Passed to |
Value
An object of class "ggplot".
See Also
See hstats()
for examples.