Learn R Programming

ggpedigree (version 1.1.0.3)

optimizePlotlyPedigree: Optimize Plotly Pedigree Plot

Description

Optimize a Plotly pedigree plot by rounding coordinates to reduce file size.

Usage

optimizePlotlyPedigree(p, config = list())

Value

The optimized plotly object with rounded coordinates.

Arguments

p

A plotly object representing the pedigree plot.

config

A list of configuration parameters, including `value_rounding_digits`.