Description Usage Arguments Value Author(s) References Examples

The function computes heritability when the random effects follow either a Gaussian distribution or a mixture of a Dirac and a Gaussian distribution. It also provides a confidence interval of heritability when the random effects are Gaussian.

1 |

`Y` |
vector of observations of size n |

`W` |
matrix with n rows and N columns |

`heritability` |
Heritability |

`CI_low` |
Lower bound of the confidence interval |

`CI_up` |
Upper bound of the confidence interval |

`standard_deviation ` |
Standard deviation |

Anna Bonnet

The method is developped in the paper "Heritability estimation in high dimensional linear mixed models" (A.Bonnet,E.Gassiat,C.L??vy-Leduc,2014)

1 2 3 4 5 6 7 | ```
library(HiLMM)
data(Y)
data(W)
estim_herit(Y,W)$heritability
estim_herit(Y,W)$CI_low
estim_herit(Y,W)$CI_up
estim_herit(Y,W)$standard_deviation
``` |

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.