add_title_pos {debrowser}R Documentation

add_title_pos

Description

Adds a title with extra axis to ggvis plot and sets the positions

Usage

add_title_pos(vis, ..., title = "Plot Title", align = "left", angle = 0,
  dx = 0, dy = 0)

Arguments

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

Value

deseq2 results

Examples

    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)


[Package debrowser version 1.6.8 Index]