TPRRegTable2: TPR results for single type of QTL effect simulation

View source: R/TPRRegTable2.R

TPRRegTable2R Documentation

TPR results for single type of QTL effect simulation

Description

Organise the TPR results in a table that can be used for regression. The independent variable (y) is the average TPR decomposed over each factor: MPP design, number of parents, individual per cross (continuous variable), QTL detection model, type of QTL, and the size of the QTL.

Usage

TPRRegTable2(
  QTL_true,
  QTL_detected,
  d_QTL,
  n_des = 9,
  n_mod = 4,
  n_QTL = 2,
  QTL_ind,
  mod_names = c("cr", "par", "anc", "biall"),
  des_names = NULL,
  n_par,
  N
)

Arguments

QTL_true

list of true QTL positions.

QTL_detected

list results of detected QTLs.

d_QTL

distance to the QTL.

n_des

Number of MPP design. Default = 9.

n_mod

Number of QTL detection models. Default = 4.

n_QTL

Number of QTL. Default = 2.

QTL_ind

Numeric indicator for the type of QTL between 1 to 8.

mod_names

Models names. Default = c("cr", "par", "anc", "biall").

des_names

MPP design names. Use only: 'Diallel', 'Chessboard', 'Factorial', 'NAM' or 'Realized'. Default = NULL.

n_par

Number of parents of the different designs

N

Total number of individuals in the population

Value

A matrix with the first column being the average TPR over the repetitions and the other being the incidence matrices of the factors

Author(s)

Vincent Garin


vincentgarin/mppSim documentation built on Oct. 11, 2024, 3:18 p.m.