plot_locus_perm_cv {HaploCatcher}R Documentation

Visualize Permutation CV Results

Description

This function takes a list of list object from the "locus_perm_cv" function and creates a summary graphic of the accuracy, kappa, sensitivity, and specificity of the models ran. If heterozygous individuals were left in the cross validation scheme, by-class sensitivity and specificity will be displayed; otherwise, displayed parameters will be of the overall model.

Usage

plot_locus_perm_cv(results, individual_images = FALSE)

Arguments

results

An object of class "list" which is derived from the "locus_perm_cv" function.

individual_images

A logical argument that defines if the user wants both the composite image and the full image. Default setting is FALSE.

Value

Prints a ggplot2 image

Examples


#refer to vignette for an in depth look at the plot_locus_perm_cv function
vignette("An_Intro_to_HaploCatcher", package = "HaploCatcher")


[Package HaploCatcher version 1.0.4 Index]