TPRmodelQTL: TPR for model x QTL combination

View source: R/TPRmodelQTL.R

TPRmodelQTLR Documentation

TPR for model x QTL combination

Description

Computes and organises the TPR results for each combination of model and type of QTL. The TPR is averaged over the repetition and MPP design. The function returns the percentage of time a specific type of QTL effect was detected by a specific model over a number of repetitions and MPP design sampling.

Usage

TPRmodelQTL(
  QTL_true,
  QTL_detected,
  d_QTL,
  n_des = 9,
  n_mod = 4,
  n_QTL = 8,
  mod_names = c("cr", "par", "anc", "biall")
)

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 = 8.

mod_names

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

Value

A matrix with the precentage of detection over the whole simulation for each type of QTL and model combination.

Author(s)

Vincent Garin


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