Y.cov: Get all traits as one vector

Description Usage Arguments Value Author(s)

Description

This function transforms the traits from the pedigree file to a single vector

Usage

1
Y.cov(ntype, Y)

Arguments

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.

Y

List of matrices obtained from the function ANOVA.data(). 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).

Value

vector in which each subject is represented by p columns, where p is the number of traits considered in the pedigree file.

Author(s)

Karim Oualkacha


KarimOualkacha/PCH4Pedigees documentation built on May 20, 2019, 8:30 a.m.