G3Lollipop plot options
g3Lollipop.options(
chart.width = 800,
chart.type = "circle",
chart.margin = list(left = 40, right = 20, top = 15, bottom = 25),
chart.background = "transparent",
transition.time = 600,
y.axis.label = "# of mutations",
axis.label.font = "normal 12px Arial",
axis.label.color = "#4f4f4f",
axis.label.alignment = "middle",
axis.label.dy = "-2em",
y.axis.line.color = "#c4c8ca",
y.axis.line.style = "dash",
y.axis.line.width = 1,
y.max.range.ratio = 1.1,
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(233,233,233)",
lollipop.pop.min.size = 2,
lollipop.pop.max.size = 12,
lollipop.pop.info.limit = 8,
lollipop.pop.info.color = "#EEE",
lollipop.pop.info.dy = "0.35em",
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",
highlight.text.angle = "90",
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",
brush = TRUE,
brush.selection.background = "#666",
brush.selection.opacity = 0.2,
brush.border.color = "#969696",
brush.handler.color = "#333",
brush.border.width = 1,
legend = TRUE,
tooltip = TRUE,
zoom = TRUE
)
a list with g3Lollipop plot options
chart width. Default 800.
pie or circle. Default circle.
specify chart margin in _list_ format.
Default list(left = 40, right = 20, top = 15, bottom = 25)
.
chart background. Default transparent.
animation transition time when clicking lollipop pops to show labels (in millisecond). Default 600.
Y-axis label text. Default "# of mutations".
css font style shorthand (font-style font-variant font-weight font-size/line-height font-family). Default "normal 12px Arial".
axis label text color. Default #4f4f4f.
axis label text alignment (start/end/middle). Default middle.
text adjustment of axis label text. Default -2em.
color of y-axis in-chart lines (ticks). Default #c4c8ca.
style of y-axis in-chart lines (ticks), "dash" or "line". Default dash.
width of y-axis in-chart lines (ticks). Default 1.
ratio of y-axis range to data value range. Default 1.1.
legend margin in list. Default list(left = 10, right = 0, top = 5, bottom = 5)
.
legend interactive mode. Default TRUE
.
legend title. If NA
, factor.col in g3Lollipop
is used.
Default is NA
.
height of lollipop track. Default 420.
background of lollipop track. Default rgb(244,244,244)
lollipop pop minimal size. Default 2.
lollipop pop maximal size. Default 12.
threshold of lollipop pop size to show count information in middle of pop. Default 8.
lollipop pop information text color. Default #EEE.
y-axis direction text adjustment of lollipop pop information. Default -0.35em.
lollipop line color. Default rgb(42,42,42).
lollipop line width. Default 0.5.
lollipop circle border color. Default wheat.
lollipop circle border width. Default 0.5.
lollipop click-out label font size to circle size ratio. Default 1.4.
lollipop click-out label minimal font size. Default 10.
color scheme to fill lollipop pops. Default accent.
pop-on-click highlight text angle. Default 90.
title of chart. Default is empty.
font of chart title. Default normal 16px Arial.
color of chart title. Default #424242.
text alignment of chart title (start/middle/end). Default middle.
text adjustment of chart title. Default 0.35em.
height of protein structure annotation track. Default 30.
margin of protein structure annotation track. Default list(top = 4, bottom = 0)
.
background of protein structure annotation track. Default transparent.
background of protein bar in protein structure annotation track. Default #e5e3e1.
margin of protein bar in protein structure annotation track. Default list(top = 2, bottom = 2)
.
color scheme of protein domains. Default category10.
margin of protein domains. Default list(top = 0, bottom = 0)
.
domain label text font in shorthand format. Default normal 11px Arial.
domain label text color. Default #f2f2f2.
if show brush. Default TRUE
.
background color of selection brush. Default #666.
background opacity of selection brush. Default 0.2.
border color of selection brush. Default #969696.
color of left and right handlers of selection brush. Default #333.
border width of selection brush. Default 1.
if show legend. Default TRUE
.
if show tooltip. Default TRUE
.
if enable zoom feature. Default TRUE
.