plot_locus_perm_cv: Visualize Permutation CV Results

View source: R/plot_locus_perm_cv.R

plot_locus_perm_cvR 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")


HaploCatcher documentation built on April 22, 2023, 1:17 a.m.