optimizePedigree: Optimize Pedigree Plot

View source: R/ggPedigreeInteractive.R

optimizePedigreeR Documentation

Optimize Pedigree Plot

Description

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

Usage

optimizePedigree(p, config = list(), plot_type = c("plotly", "static"))

Arguments

p

A plotly or ggplot object representing the pedigree plot.

config

A list of configuration parameters, including 'value_rounding_digits'.

plot_type

A string indicating the type of plot: "plotly" or "static". Default is "plotly". @return The optimized plot object with rounded coordinates. @keywords internal @aliases optimisePedigree


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