simf1g {segtest} | R Documentation |
Simulate genotype counts from F1 individuals
Description
Simulate genotype counts from F1 individuals
Usage
simf1g(n, g1, g2, alpha = 0, xi1 = 1/3, xi2 = 1/3)
Arguments
n |
Sample size. |
g1 |
The first parent's genotype. |
g2 |
The second parent's genotype. |
alpha |
The double reduction rate. |
xi1 |
The first parent's preferential pairing parameter. |
xi2 |
The second parent's preferential pairing parameter. |
Value
A vector of counts, where element i
is the number of
simulated individuals with genotype i-1
.
Author(s)
David Gerard
Examples
set.seed(1)
simf1g(n = 10, g1 = 1, g2 = 2)
[Package segtest version 2.0.0 Index]