personalThreshold {APIS}R Documentation

Establish personal threshold

Description

This function allows the user to set up his own threshold

Usage

personalThreshold(APIS.result, method, threshold = NULL,
  verbose = TRUE)

Arguments

APIS.result

APIS function output

method

the method for the new threshold | 'delta' for deltas, 'Pmendel' for Mendelian porbabilities, 'exclusion' for mismatches

threshold

personal threshold | default values are implemented

verbose

(default : TRUE) Display the process of the function on the console.

Value

new pedigree from the new threshold

Examples

data("APIS_offspring")
data("APIS_sire")
data("APIS_dam")

result <- APIS(off.genotype = APIS_offspring[1:50, ],
               sire.genotype = APIS_sire,
               dam.genotype = APIS_dam,
               error = 0.05,
               verbose = FALSE)

new.result <- personalThreshold(result, method = 'exclusion', threshold = 2, verbose = FALSE)


[Package APIS version 1.0.1 Index]