Description Usage Arguments Value
View source: R/add_blup_to_lod_peaks.R
Given a table of LOD peaks and the data used to generate them, calculate the founder allele effects for each peak.
1 | add_blup_to_lod_peaks(lod.peaks, genoprobs, pheno, K, addcovar, map)
|
lod.peaks |
data.frame containing at least 3 columns named annot.id, marker.id and lod. We used annot.id to find the phenotype in expr and marker.id to find the genoprobs at the QTL. |
genoprobs |
list of 3 dimensional arrays that contain the allele probabilities for the mice. In qtl2 format. |
pheno |
matrix of phenotypes with samples in rows and phenotypes in columns. In qtl2 format. |
K |
list of numeric kinship matrices. |
addcovar |
numeric matrix of additive covariates, created using model.matrix. |
map |
list of numeric vectors containing marker locations in qtl2 format. |
data.frame containing the lod.peaks with the eight founder alleles, in columns A through H, appended.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.