View source: R/ggPedigreeInteractive.R
optimizePedigree | R Documentation |
Optimize a pedigree plot by rounding coordinates to reduce file size.
optimizePedigree(p, config = list(), plot_type = c("plotly", "static"))
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.