View source: R/calcCoordinates.R
alignPedigreeWithRelations | R Documentation |
This function aligns a pedigree object using relations if provided, or defaults to the default alignment settings.
alignPedigreeWithRelations(
ped,
personID,
dadID,
momID,
code_male,
sexVar,
config
)
ped |
A data frame containing the pedigree data. Needs personID, momID, and dadID columns |
personID |
Character string specifying the column name for individual IDs. Defaults to "personID". |
dadID |
Character string specifying the column name for father IDs. Defaults to "dadID". |
momID |
Character string specifying the column name for mother IDs. Defaults to "momID". |
code_male |
Value used to indicate male sex. Defaults to NULL. |
sexVar |
Character. Name of the column in 'ped' for the sex variable. |
config |
List of configuration options:
|
A data frame with the aligned positions of individuals in the pedigree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.