add_plotly_line_unity: add unity line

View source: R/add_plotly_line_unity.R

add_plotly_line_unityR Documentation

add unity line

Description

adds a unity line to plotly object

Usage

add_plotly_line_unity(
  p,
  data = NULL,
  color = "black",
  width = 0.5,
  dash = "solid",
  opacity = 0.5
)

Arguments

p

a plotly object

data

the data object used to draw the plotly object. By default, the function will look for the data object within the plotly object.

color

color of line

width

width of line

dash

dashed or solid?

opacity

opacity of line.

See Also

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


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