simRIL {netgwas} | R Documentation |
Generate genotype data of RIL
Description
Generating genotype data from a recombinant inbred line (RIL) population.
Usage
simRIL( d = 25, n = 200, g = 5, cM = 100, selfing=2 )
Arguments
d |
The number of markers per chromosome. The default value is 25. |
n |
The number of sample size (observations). The default value is 200. |
g |
The number of linkage groups (chromosomes). The default value is 5. |
cM |
The length of each chromosome based on centiMorgan. |
selfing |
The number of selfing in RIL population. |
Value
data |
The generated RIL genotype data as an |
map |
The genetic map of the data. |
Author(s)
Pariya Behrouzi
Maintainer: Pariya Behrouzi <pariya.behrouzi@gmail.com>
See Also
netmap
, netsnp
, and netgwas-package
Examples
#genome-like graph structure
ril <- simRIL(g = 5, d = 25, cM = 100, n = 200, selfing = 2)
geno <- ril$data; image(geno, xlab= "individuals", ylab="markers")
map <- ril$map
[Package netgwas version 1.14.3 Index]