createFillColumn | R Documentation |
This function creates a fill column for ggPedigree plots as a function of the focal person relative to everyone else in the tree.
createFillColumn(
ped,
focal_fill_personID = 2,
personID = "personID",
component = "additive",
config = list()
)
ped |
A data frame containing the pedigree data. |
focal_fill_personID |
Numeric ID of the person to use as the focal point for fill. |
personID |
Character string specifying the column name for individual IDs. |
component |
Character string specifying the component type (e.g., "additive"). |
config |
A list of configuration options for customizing the fill column. |
A data frame with two columns: 'fill' and 'personID'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.