rplot {hsphase} | R Documentation |
Recombination Plot
Description
This function creates a plot which shows the sum of all recombination events across a half-sib family.
Usage
rplot(x, distance, start = 1, end = ncol(x), maximum = 100,
overwrite = FALSE, method = "constant")
Arguments
x |
|
distance |
|
start |
|
end |
|
maximum |
|
overwrite |
|
method |
|
Examples
genotype <- matrix(c(
0,2,0,1,0,
2,0,1,2,2,
2,2,1,0,2,
2,2,1,1,1,
0,0,2,1,0), ncol = 5, byrow = TRUE) # each row contains the SNP of individuals
rplot(genotype, c(1,2,3,4,8))
[Package hsphase version 2.0.3 Index]