formatTooltip: Format tooltip text

View source: R/ggPedigreeInteractive.R

formatTooltipR Documentation

Format tooltip text

Description

Format tooltip text for ggplotly

Usage

formatTooltip(df, tooltip_columns, sep = ": ")

Arguments

df

A data frame containing the data to be displayed in the tooltip.

tooltip_columns

A character vector of column names to be included in the tooltip.

sep

A character string containing the separator for the columns

Value

A character vector of formatted tooltip text for each row in the data frame.


ggpedigree documentation built on Sept. 13, 2025, 1:08 a.m.