Description Usage Arguments Value Author(s)
This function transforms the pedigree file to a format which will be used by PCH4GeneralPed(.) function.
1 | ANOVA.data(ntype, c1.traits, Ped)
|
ntype |
Vector of integers. Its length equals to the total number of families used in the pedigree file. The ntype's entries are the total number of subjects within each family. It can be obtained using Family.sizes(.) function. |
c1.traits |
Integer number indicates the column from which the traits begin in the Pedigree file. |
Ped |
Pedigree file with the first 5 columns should be in the following order: family IDs, subject IDs, father IDs, mother IDs and sex. If there are covariates in the model, they should be introduced after the five standard columns in the pedigree file followed by the quantitative traits. |
A list of matrices. Its length equals to the number of families used in the study. Each matrix of this list represents one family of the pedigree file (i. e. each list entry has subjects of a same family as rows and their corresponding traits as columns).
Karim Oualkacha
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.