EVOLUTION-MANAGER
Edit File: simFounderSnps.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Simulate founder SNPs for a multiple-strain RIL</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for simFounderSnps {qtl}"><tr><td>simFounderSnps {qtl}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Simulate founder SNPs for a multiple-strain RIL</h2> <h3>Description</h3> <p>Simulate genotype data for the founding strains for a panel of multiple-strain RIL. </p> <h3>Usage</h3> <pre> simFounderSnps(map, n.str=c("4","8"), pat.freq) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>map</code></td> <td> <p>A list whose components are vectors containing the marker locations on each of the chromosomes.</p> </td></tr> <tr valign="top"><td><code>n.str</code></td> <td> <p>Number of founding strains (4 or 8).</p> </td></tr> <tr valign="top"><td><code>pat.freq</code></td> <td> <p>Frequency of SNP genotype patterns in the founder (a vector of length <code>n.str</code>/2 + 1): (monoallelic, SNP unique to one founder, SNP present in 2 founders, [and, for the case of 8 founders, SNP in 3/8 founders, SNP in 4/8 founders].)</p> </td></tr> </table> <h3>Details</h3> <p>The SNPs are simulated to be in linkage equilibrium. </p> <h3>Value</h3> <p>A vector of the same length as there are chromosomes in <code>map</code>, with each component being a matrix of 0's and 1's, of dim <code>n.str</code> x <code>n.mar</code>. </p> <h3>Author(s)</h3> <p>Karl W Broman, <a href="mailto:broman@wisc.edu">broman@wisc.edu</a> </p> <h3>See Also</h3> <p><code><a href="sim.map.html">sim.map</a></code>, <code><a href="sim.cross.html">sim.cross</a></code> </p> <h3>Examples</h3> <pre> data(map10) x <- simFounderSnps(map10, "8", c(0, 0.5, 0.2, 0.2, 0.1)) </pre> <hr /><div style="text-align: center;">[Package <em>qtl</em> version 1.46-2 <a href="00Index.html">Index</a>]</div> </body></html>