Description Usage Arguments Value
View source: R/herit_per_chr.R
Estimate the heritability of a phenotype on each chromosome.
1 | herit_per_chr(data, K)
|
data |
numeric matrix containing samples in rows and phenotypes and covariates in columns. The phenotype should be in column 1 and the covariates should be generated from model.matrix() in the remaining columns. |
K |
list containing kinship matrices for each chromosome. NOTE: these should be made using qtl2::calc_kinship(genoprobs, type = "chr") |
numeric matrix containing phenotypes in rows and kinship estimates per chromosome in columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.