add_title_pos {debrowser} | R Documentation |
Adds a title with extra axis to ggvis plot and sets the positions
add_title_pos(vis, ..., title = "Plot Title", align = "left", angle = 0, dx = 0, dy = 0)
vis, |
a ggvis plot |
..., |
any additional arguments |
title |
for the plot |
align |
position of the title c('left','right') |
angle |
of the labels in x axis |
dx, |
relative x position of the labels in the x axis |
dy, |
relative y position of the labels in the x axis |
deseq2 results
require(ggvis) mtcars %>% ggvis(x=~cyl, y=~wt, fill=~mpg) %>% group_by(mpg) %>% layer_bars() %>% add_title_pos(title = "title", angle=310, dy=0, dx=0) %>% set_options(width = 400, height = 350)