Description Usage Arguments Value Author(s) See Also Examples
Generates a matrix containing the genotypes of the cases and the corresponding three pseudo-controls (i.e. the genotypes of the children and the respective corresponding three genotypes not transmitted from the parents).
1 | getMatPseudo(mat.snp)
|
mat.snp |
a numeric matrix in which each column represents a SNP. Each column must be
a numeric vector of length 3 * t representing a SNP genotyped at t trios. Each of the t
blocks must consist of the genotypes of father, mother, and offspring
(in this order). The genotypes must be coded by 0, 1, and 2. Missing values are allowed and need to be coded by |
A matrix with 4 * t rows, in which each block of four consecutive rows consists of the genotypes of the SNPs in mat.snp
for the case and the three matched pseudo-controls corresponding to the respective block in mat.snp
.
Holger Schwender, holger.schwender@udo.edu
1 2 3 4 5 6 7 | # Load the simulated data.
data(trio.data)
# The matrix with the genotypes of the offspring and the three
# pseudo-controls for each of the trios in mat.test can be
# generated by
matPseudo <- getMatPseudo(mat.test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.