catmaply_annotations: Get catmaply annotation list

View source: R/trace.R

catmaply_annotationsR Documentation

Get catmaply annotation list

Description

Function to produce catmaply traces.

Usage

catmaply_annotations(
  df,
  annotated,
  text_color = "#444",
  text_size = 12,
  text_font_family = c("Open Sans", "verdana", "arial", "sans-serif")
)

Arguments

df

data.frame or tibble holding the data.

annotated

boolean indicating if annotations should be displayed.

text_color

font color to be used for text; (default: "#444").

text_size

font size to be used for text/annotation. Needs to be a number greater than or equal to 1; (default: 12).

fig

plotly object

text_font_color

the typeface that will be applied by the web browser for the text/annotation. The web browser will only be able to apply a font if it is available on the system which it operates. Provide multiple font families, separated by commas, to indicate the preference in which to apply fonts if they aren't available on the system; (default: c("Open Sans", "verdana", "arial", "sans-serif")).

Value

list


yvesmauron/catmaply documentation built on Jan. 9, 2023, 1:32 p.m.