FDRresProcessing: Processing FDR results

View source: R/FDRresProcessing.R

FDRresProcessingR Documentation

Processing FDR results

Description

Function to organise the FDR results obtained from a list of "true" QTL positions and a list of detected QTLs in several MPP designs with different models. The function compute the FDR in each situation (Rep * MPP design * model). Then it return a table with the average FDR over the x replicate for each combination of MPP design and QTL detection model. It return a similar table with the standard deviation. Finally, it also return the global average per model and per MPP design.

Usage

FDRresProcessing(
  QTL_true,
  QTL_detected,
  d_QTL,
  n_des = 9,
  n_mod = 4,
  mod_names = c("cr", "par", "anc", "biall"),
  MPP_names
)

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.

mod_names

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

MPP_names

MPP design names.

Value

list with vector of FDR average per MPP design, and vector of FDR average per model, matrix of average FDR per MPP and model, sandard deviation of the FDR per MPP and model, vector of FDR average per MPP design, and vector of FDR average per model.

Author(s)

Vincent Garin


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