Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

inc_mat_QTL

QTL incidence matrix


Description

Build a single position QTL incidences matrix.

Usage

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

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")

mppR

Multi-Parent Population QTL Analysis

v1.2.1
GPL-3
Authors
Vincent Garin [aut, cre], Valentin Wimmer [aut], Dietrich Borchardt [ctb, dtc], Fred van Eeuwijk [ctb, ths], Marcos Malosetti [ctb, ths]
Initial release
2020-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.