validMLEmodel: validMLEmodel

View source: R/validMLEmodel.R

validMLEmodelR Documentation

validMLEmodel

Description

validMLEmodel makes model validation whether the observed peak heights fits the maximum likelihood fitted gamma distribution.

Usage

validMLEmodel(
  mlefit,
  kit = NULL,
  plottitle = "PP-plot",
  alpha = 0.01,
  createplot = TRUE,
  verbose = TRUE
)

Arguments

mlefit

Fitted object using contLikMLE

kit

This is no longer used.

plottitle

Maintitle text used in the PP-plot

alpha

The significance level used for the envelope test. Default is 0.01

createplot

Boolean of whether plot should be created

verbose

Boolean of whether printing out information about significant alleles

Details

The cumulative probability of the observed allele peaks are calculated and compared with a uniform distribution. Function calls a 'cumulative procedure' in C++ which uses the package Boost and performs paralellisation (OpenMP).

Value

retinfo A dataframe with information from the calculated validation model

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on Aug. 25, 2023, 11:14 a.m.