K: A simple kinship matrix for the simulated genotype matrix.

Description Usage Examples

Description

A kinship matrix to help demonstrate the package usage. Provides the probability that each SNPs is identical by simulation between any two individuals in the simulated data.

Usage

1
data("K")

Examples

1
2
3
4
data(K)
data(W)
K[1:5,1:5] ## uncorrelated individuals since they are from different simulated families
K[which(W$ID_fam == 1),which(W$ID_fam == 1)] ## these individuals are from the same simulate family and have kinship coefficient 0.5.

tamartsi/MetaCor documentation built on May 31, 2019, 2:56 a.m.