View source: R/summarizePedigree.R
summarizePatrilines | R Documentation |
Summarize the paternal lines in a pedigree
summarizePatrilines(
ped,
famID = "famID",
personID = "ID",
momID = "momID",
dadID = "dadID",
matID = "matID",
patID = "patID",
byr = NULL,
founder_sort_var = NULL,
include_founder = FALSE,
nbiggest = 5,
noldest = 5,
skip_var = NULL,
five_num_summary = FALSE,
verbose = FALSE
)
ped |
a pedigree dataset. Needs ID, momID, and dadID columns |
famID |
character. Name of the column to be created in ped for the family ID variable |
personID |
character. Name of the column in ped for the person ID variable |
momID |
character. Name of the column in ped for the mother ID variable |
dadID |
character. Name of the column in ped for the father ID variable |
matID |
Character. Maternal line ID variable to be created and added to the pedigree |
patID |
Character. Paternal line ID variable to be created and added to the pedigree |
byr |
Character. Optional column name for birth year. Used to determine the oldest lineages. |
founder_sort_var |
Character. Column used to determine the founder of each lineage. Defaults to 'byr' (if available) or 'personID' otherwise. |
include_founder |
Logical. If 'TRUE', includes the founder (originating member) of each lineage in the output. |
nbiggest |
Integer. Number of largest lineages to return (sorted by count). |
noldest |
Integer. Number of oldest lineages to return (sorted by birth year). |
skip_var |
Character vector. Variables to exclude from summary calculations. |
five_num_summary |
Logical. If 'TRUE', includes the first quartile (Q1) and third quartile (Q3) in addition to the minimum, median, and maximum values. |
verbose |
Logical, if TRUE, print progress messages. |
[summarizePedigrees ()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.