View source: R/plot_haplofreq.R
plot_haplofreq | R Documentation |
Plot and filter markers based on haplotype frequency vs position
plot_haplofreq(geno, thresh = 0.1, span = 0.3)
geno |
haplotype dosage matrix (markers x indiv) |
thresh |
threshold for removing markers (see Details) |
span |
parameter to control degree of smoothing for spline (higher = less smooth) |
This functions works for mapping populations derived from two inbred founders. The geno
matrix must be coded based on the dosage (0,1,2) of one founder haplotype.
Markers are removed if their residual to the fitted spline exceeds thresh
. Markers are assumed to be ordered. Function designed to be used for one chromosome.
List containing
index of outlier markers
ggplot2 variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.