Description Usage Arguments Value
View source: R/herit_per_chr_conf_int.R
Estimate the confidence interval of a heritability estimate.
1 | herit_per_chr_ci(data, K, nsim = 1000)
|
data |
matrix with the phenotype in the first column and the covariate model matrix in the remaining columns. Sample IDs should be in rownames(data). |
K |
list of per chromosome kinship matrices. |
nsim |
integer indicating the number of simulations to perform. Default = 1000. |
numeric matrix containing heritabilities estimates for the observed data (in row 1) and the simulated data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.