plotLOAF {BREADR}R Documentation

plotLOAF

Description

Plots all (sorted by increasing value) observed PMR values with maximum posterior probability classifications represented by colour and shape. Options include a cut off for the minimum number of overlapping SNPs, the max number of pairs to plot and x-axis font size.

Usage

plotLOAF(in_tibble, nsnps_cutoff = NULL, N = NULL, fntsize = 7, verbose = TRUE)

Arguments

in_tibble

a tibble that is the output of the callRelatedness() function.

nsnps_cutoff

the minimum number of overlapping SNPs for which pairs are removed from the plot. If NULL, default is 500.

N

the number of (sorted by increasing PMR) pairs to plot. Avoids plotting all pairs (many of which are unrelated).

fntsize

the fontsize for the x-axis names.

verbose

if TRUE, then information about the plotting process is sent to the console

Value

a ggplot object

Examples

relatedness_example
plotLOAF(relatedness_example)

[Package BREADR version 1.0.1 Index]