Description Usage Format Details Examples

A simulated dataset with a kinship matrix

1 |

A list with 6 elements:

- b
vector of length 1000 representing the true regression coefficients. 10 non-zero coefficients, the rest are 0.

- kin1
the true kinship matrix

- s.g
polygenic variance, set to be 1.26

- s.e
error variance, set to be 1

- h.tot
the total trait heritability. Set to be 60 of genotypes of dimension 600 x 1000 SNPs, with approximately 800 common and 200 rare SNPs

If you simulate data using the scenario provided in the example, then the QTL heritability of y will be 8 of the traitâ€™s total heritability), and the trait total heritability is set to be 60

1 2 3 4 5 6 |

ggmix documentation built on April 13, 2021, 9:06 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.