Creates a plot showing the sum of recombination events across a half-sib family.
Usage
rplot(x, distance, start = 1, end = ncol(x), maximum = 100,
overwrite = FALSE, method = "constant")
Arguments
x
matrix. Half-sib genotypes (one half-sib per row; SNPs ordered by mapping position in columns).
Numeric coding: 0, 1, 2 for AA, AB, BB. Use 9 for missing data.
distance
numeric (or integer). Physical distances between markers (length must match ncol(x) or the plotted range).
start
integer. First marker index for the plot.
end
integer. Last marker index for the plot.
maximum
integer. Maximum number of recombinations to show (higher recombination rates will be omitted).
overwrite
logical. Draw over the current plot (default FALSE).
method
character. Method passed to pm (e.g., "constant" or "relative").