Description Usage Arguments Value See Also
one-bar annotation ggplot
1 2 3 4 |
X |
named character vector of observations and groups (names); or a dataframe with first two columns as observations and groups. |
title |
annomap title. Default: NULL |
x.title |
x axis (observations) title (e.g. 'cells'). Default: NULL |
pal |
numeric value specifying different qualitative brewer palettes. See ggplot2::scale_fill_brewer for details. Default: 1 |
angle |
logical indicating whether to angle title if flip = T. Default: T |
breaks |
set to NULL to remove x axis tick marks. Default: ggplot2::waiver() |
x.num |
enumerate observations on x axis? Default: T |
flip |
observations along y axis instead of x? Default: F |
hide.legend |
logical. Default: T |
legend.pos |
character string. See legend.position in ggplot2::theme for details. Default: 'top' |
ratio |
aspect ratio. If flip = T, ratio = 1/ratio.. Default: 0.03 |
mar |
see plot.margin in ggplot2::themes for details. Default: 0.015 |
cols |
custom colour palette. Option to name colours by groups to choose individual group colours. Default: NULL |
cols.order |
character vector with groups. Changing the order changes the assignment of colours to groups. Default: names(cols) |
ggplot
waiver
,ggplot
,scale_continuous
,scale_x_discrete
,geom_raster
,ggtheme
,theme
,margin
,scale_colour_brewer
,scale_manual
,coord_flip
get_legend
,rremove
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.