simFounderSnps | R Documentation |
Simulate genotype data for the founding strains for a panel of multiple-strain RIL.
simFounderSnps(map, n.str=c("4","8"), pat.freq)
map |
A list whose components are vectors containing the marker locations on each of the chromosomes. |
n.str |
Number of founding strains (4 or 8). |
pat.freq |
Frequency of SNP genotype patterns in the founder (a
vector of length |
The SNPs are simulated to be in linkage equilibrium.
A vector of the same length as there are chromosomes in map
,
with each component being a matrix of 0's and 1's, of dim n.str
x n.mar
.
Karl W Broman, broman@wisc.edu
sim.map
, sim.cross
data(map10)
x <- simFounderSnps(map10, "8", c(0, 0.5, 0.2, 0.2, 0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.