plotLOAF {BREADR} | R Documentation |
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.
plotLOAF(in_tibble, nsnps_cutoff = NULL, N = NULL, fntsize = 7, verbose = TRUE)
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 |
a ggplot object
relatedness_example
plotLOAF(relatedness_example)