View source: R/ggPedigreeInteractive.R
optimizePlotlyPedigree | R Documentation |
Optimize a Plotly pedigree plot by rounding coordinates to reduce file size.
optimizePlotlyPedigree(p, config = list())
p |
A plotly object representing the pedigree plot. |
config |
A list of configuration parameters, including 'value_rounding_digits'. |
The optimized plotly object with rounded coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.