Description Usage Arguments Details Value Note Author(s) Examples
SibCount
allows users to supply pedigree of any size to determine sibling structure within the available pedigree for full-siblings, paternal and maternal half-siblings. The function returns basic statistics on each type that includes number of that relative sibling type in the pedigree, as well as the average number, standard deviation, minimum and maximum of that sibling type per "family". In this case "family" is dependent on the type of relationship being evaluated. For full-siblings, family refers to having the same sire and dam, whereas family would refer to having the same sire or dam for paternal or maternal half-siblings, respectively. If savefiles is true, then additional detail on what defined the family for each sibling type is outputed as text files.
1 |
Ped |
A pedigree of the population being evaluated. Format should be a dataframe either read in using |
savefiles |
Default is true. This term allows you to save .... from the function only if set to TRUE. Options: Must be either TRUE or FALSE. |
destfile |
This is the pathway to the computer location in which files will be saved and must be specified using quotation marks (e.g., |
The pedigree used can be alphanumeric, numeric only, or alphabet only. The function does not rely on object types within the dataframe to conduct counts and summary statistics.
When the function is given an object name, such as Count = SibCount(Ped,destfile = getwd())
, the object Count
will consist of summary statistics with rows based on:
FullSib |
Full-sibling statistics |
PaternalHalfSib |
Paternal half-sibling statistics |
MaternalHalfSib |
Maternal half-sibling statistics |
and columns of:
Count |
The number of families present in the pedigree for that sibling type. |
Average |
The average number of siblings within families present in the pedigree for that sibling type. |
SD |
The standard deviation to the average number of siblings within families present in the pedigree for that sibling type. |
Min |
The minimum number of siblings per family found in the pedigree for the sibling type. This must be 2 or more. |
Max |
The maximum number of siblings per family found in the pedigree for the sibling type. This must be 2 or more. |
This summary table is also exported using the write.table
function if savefiles = TRUE
. Additional data exported include lists by parents that made full-sibling families (FullSibs.txt
), sires that made paternal half-sibling families (PatHalfSibs.txt
), and dams that made maternal half-sibling families (MatHalfSibs.txt
). The typical format for full-sibling family output is:
Sire |
|
Dam |
|
NuFullSib |
Half-sibling family files are subsets of full-sibling files.
For issues or problems with this function, please contact Lauren Hanna at Lauren.Hanna@ndsu.edu.
Lauren L. Hulsman Hanna
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.