inc_mat_QTL: QTL incidence matrix

Description Usage Arguments Value Author(s) See Also Examples

Description

Build a single position QTL incidences matrix.

Usage

1
inc_mat_QTL(x, mppData, Q.eff, order.MAF = FALSE)

Arguments

x

Integer value indicating the genetic position on the map (mppData$map) of the QTL incidence matrix.

mppData

An object of class mppData.

Q.eff

Character expression indicating the assumption concerning the QTL effects: 1) "cr" for cross-specific; 2) "par" for parental; 3) "anc" for ancestral; 4) "biall" for a bi-allelic. For more details see mpp_SIM. Default = "cr".

order.MAF

Logical value specifying if the QTL incidence matrix should be ordered by allele frequency for a parental and ancestral QTL incidence matrix. The column will be ordered from the least to the most frequent allele. Default = FALSE.

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

See Also

mpp_SIM,

Examples

1
2
3
4
5
6
7
8
9
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")

vincentgarin/mppR documentation built on June 20, 2019, 4 p.m.