herit_per_chr_ci: Estimate the confidence interval of a heritability estimate.

Description Usage Arguments Value

View source: R/herit_per_chr_conf_int.R

Description

Estimate the confidence interval of a heritability estimate.

Usage

1
herit_per_chr_ci(data, K, nsim = 1000)

Arguments

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.

Value

numeric matrix containing heritabilities estimates for the observed data (in row 1) and the simulated data.


churchill-lab/qtl2tricks documentation built on May 20, 2019, 1:13 p.m.