tooltip_fmt {ggpedigree}R Documentation

Format tooltip text

Description

Format tooltip text for ggplotly

Usage

tooltip_fmt(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.


[Package ggpedigree version 0.8.0 Index]