powered by
Generating genotype data from a recombinant inbred line (RIL) population.
simRIL( d = 25, n = 200, g = 5, cM = 100, selfing=2 )
The generated RIL genotype data as an n by (d x g) matrix.
n
(d x g)
The genetic map of the data.
The number of markers per chromosome. The default value is 25.
The number of sample size (observations). The default value is 200.
The number of linkage groups (chromosomes). The default value is 5.
The length of each chromosome based on centiMorgan.
The number of selfing in RIL population.
Pariya Behrouzi Maintainer: Pariya Behrouzi <pariya.behrouzi@gmail.com>
netmap, netsnp, and netgwas-package
netmap
netsnp
netgwas-package
#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
Run the code above in your browser using DataLab