inc_mat_QTL {mppR} | R Documentation |
QTL incidence matrix
Description
Build a single position QTL incidences matrix.
Usage
inc_mat_QTL(x, mppData, Q.eff, order.MAF = FALSE, ref_par = NULL)
Arguments
x |
|
mppData |
An object of class |
Q.eff |
|
order.MAF |
|
ref_par |
Optional |
Value
Return:
QTL.mat |
QTL incidence matrix. For the cross-specific model, it represents the difference between the number of allele from parent 2 or B and parent 1 or A divided by two. For parental (ancestral) model it represents the expected number of parental (ancestral) allele copies. For the bi-allelic model, it represents the number of copies of the least frequent allele. |
Author(s)
Vincent Garin
Examples
data(mppData)
QTLmatCr <- inc_mat_QTL(x = 2, mppData = mppData, Q.eff = "cr")
QTLmatPar <- inc_mat_QTL(x = 2, mppData = mppData, Q.eff = "par")
QTLmatAnc <- inc_mat_QTL(x = 2, mppData = mppData, Q.eff = "anc")
QTLmatBi <- inc_mat_QTL(x = 2, mppData = mppData, Q.eff = "biall")