Learn R Programming

g3viz (version 0.1.4)

g3Lollipop.options: G3Lollipop plot options

Description

G3Lollipop plot options

Usage

g3Lollipop.options(chart.width = 800, chart.type = "pie",
  chart.margin = list(left = 40, right = 20, top = 15, bottom = 25),
  chart.background = "transparent", transition.time = 600,
  y.axis.label = "mutations", axis.label.font = "normal 12px Arial",
  axis.label.color = "#4f4f4f", axis.label.alignment = "middle",
  axis.label.dy = "-2em", legend.margin = list(left = 10, right = 0,
  top = 5, bottom = 5), legend.interactive = TRUE, legend.title = NA,
  lollipop.track.height = 420,
  lollipop.track.background = "rgb(244,244,244)",
  lollipop.pop.min.size = 2, lollipop.pop.max.size = 12,
  lollipop.pop.info.limit = 8, lollipop.pop.info.color = "#EEE",
  lollipop.line.color = "rgb(42,42,42)", lollipop.line.width = 0.5,
  lollipop.circle.color = "wheat", lollipop.circle.width = 0.5,
  lollipop.label.ratio = 1.4, lollipop.label.min.font.size = 10,
  lollipop.color.scheme = "accent", title.text = "",
  title.font = "normal 16px Arial", title.color = "#424242",
  title.alignment = "middle", title.dy = "0.35em", anno.height = 30,
  anno.margin = list(top = 4, bottom = 0),
  anno.background = "transparent", anno.bar.fill = "#e5e3e1",
  anno.bar.margin = list(top = 2, bottom = 2),
  domain.color.scheme = "category10", domain.margin = list(top = 0,
  bottom = 0), domain.text.font = "normal 11px Arial",
  domain.text.color = "#f2f2f2", legend = TRUE, tooltip = TRUE,
  brush = TRUE, zoom = TRUE)

Arguments

chart.width

chart width. Default 800.

chart.type

pie or circle. Default pie.

chart.margin

specify chart margin in _list_ format. Default list(left = 40, right = 20, top = 15, bottom = 25).

chart.background

chart background. Default transparent.

transition.time

chart animation transition time in millisecond. Default 600.

y.axis.label

Y-axis label text. Default mutations.

axis.label.font

css font style shorthand (font-style font-variant font-weight font-size/line-height font-family). Default "normal 12px Arial".

axis.label.color

axis label text color. Default #4f4f4f.

axis.label.alignment

axis label text alignment (start/end/middle). Default middle.

axis.label.dy

text adjustment of axis label text. Default -2em.

legend.margin

legend margin in list. Default list(left = 10, right = 0, top = 5, bottom = 5).

legend.interactive

legend interactive mode. Default TRUE.

legend.title

legend title. If NA, use factor.col. Default is NA.

lollipop.track.height

height of lollipop track. Default 420.

lollipop.track.background

background of lollipop track. Default rgb(244,244,244)

lollipop.pop.min.size

lollipop pop minimal size. Default 2.

lollipop.pop.max.size

lollipop pop maximal size. Default 12.

lollipop.pop.info.limit

threshold of lollipop pop size to show count information in middle of pop. Default 8.

lollipop.pop.info.color

lollipop pop information text color. Default #EEE.

lollipop.line.color

lollipop line color. Default rgb(42,42,42).

lollipop.line.width

lollipop line width. Default 0.5.

lollipop.circle.color

lollipop circle border color. Default wheat.

lollipop.circle.width

lollipop circle border width. Default 0.5.

lollipop.label.ratio

lollipop click-out label font size to circle size ratio. Default 1.4.

lollipop.label.min.font.size

lollipop click-out label minimal font size. Default 10.

lollipop.color.scheme

color scheme to fill lollipop pops. Default accent.

title.text

title of chart. Default is empty.

title.font

font of chart title. Default normal 16px Arial.

title.color

color of chart title. Default #424242.

title.alignment

text alignment of chart title (start/middle/end). Default middle.

title.dy

text adjustment of chart title. Default 0.35em.

anno.height

height of protein structure annotation track. Default 30.

anno.margin

margin of protein structure annotation track. Default list(top = 4, bottom = 0).

anno.background

background of protein structure annotation track. Default transparent.

anno.bar.fill

background of protein bar in protein structure annotation track. Default #e5e3e1.

anno.bar.margin

margin of protein bar in protein structure annotation track. Default list(top = 2, bottom = 2).

domain.color.scheme

color scheme of protein domains. Default category10.

domain.margin

margin of protein domains. Default list(top = 0, bottom = 0).

domain.text.font

domain label text font in shorthand format. Default normal 11px Arial.

domain.text.color

domain label text color. Default #f2f2f2.

legend

if show legend. Default TRUE.

tooltip

if show tooltip. Default TRUE.

brush

if show brush. Default TRUE.

zoom

if enable zoom feature. Default TRUE.

Value

a list with g3Lollipop plot options