convertSim | R Documentation |
Convert data simulated with simbc() into the form used by R/qtl.
convertSim(object, n.chr=9, chr.len=100)
object |
A list with two components: the genotype data as a matrix, and the phenotype data as a vector. |
n.chr |
Number of chromosomes in the data. |
chr.len |
Length of the chromosomes, in cM. |
An object of class cross
. See read.cross
for
details.
Karl W Broman, broman@wisc.edu
read.cross
, simbc
dat <- simbc()
cross <- convertSim(dat, 9, chr.len=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.