add_plotly_layout_scatter: layout for scatterplot

View source: R/add_plotly_layout_scatter.R

add_plotly_layout_scatterR Documentation

layout for scatterplot

Description

format axes of a plotly object.

Usage

add_plotly_layout_scatter(
  p,
  title = "",
  legend_title = bold("Overlay"),
  width = NULL,
  height = NULL,
  orientation = "v",
  legend.x = 0,
  legend.y = 0
)

Arguments

p

a plotly object.

title

the title of the plot.

legend_title

the title of the legend.

width

the width of the plotly object.

height

the height of the plotly object.

orientation

piped to plotly. Can be 'v'ertical or 'h'orisontal.

legend.x

shift legend by x-axis.

legend.y

shift legend by y-axis.

See Also

Other plotly: add_plotly_layout_volcano(), add_plotly_line_unity(), add_plotly_threshold_lines(), add_plotly_trace(), plotly_tissue_enrichment()


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.