Simulates a basic population object for use in examples.
fake.population(n.founders = 4, n.offspring = 100, n.markers=100,n.chromosomes=10,
type = c("riself", "f2", "bc", "risib"), n.mixups=0, verbose=FALSE,...)
Number of founders to be simulated.
Number of offspring individuals to be simulated.
Number of markers individuals to be simulated.
Number of chromosomes individuals to be simulated.
Type of the cross to be faked:
riself - RILs by selfing.
f2 - f2 cross.
bc - back cross.
risib - RILs by sibling mating.
Number of mixups to be faked.
Be verbose.
To be passed to sim.cross
.
An object of class population
. See create.population
for details.
This function simulates a population object that can be used for further analysis.
Copenhaver, G. P., Housworth, E. A. and Stahl, F. W. (2002) Crossover interference in arabidopsis. Genetics 160, 1631--1639.
Foss, E., Lande, R., Stahl, F. W. and Steinberg, C. M. (1993) Chiasma interference as a function of genetic distance. Genetics 133, 681--691.
Zhao, H., Speed, T. P. and McPeek, M. S. (1995) Statistical analysis of crossover interference using the chi-square model. Genetics 139, 1045--1056.
Broman, K. W. (2005) The genomes of recombinant inbred lines Genetics 169, 1133--1146.
Teuscher, F. and Broman, K. W. (2007) Haplotype probabilities for multiple-strain recombinant inbred lines. Genetics 175, 1267--1274.
read.population
- Load genotype, phenotype, genetic map data files into R environment into a population object.
add.to.population
- Add data to existing population object.
sim.cross
- Function from R/qtl package used to simulate genotypic data.
create.population
- Create object of class population from data already in R environment.
# NOT RUN {
population <- fake.population()
# }
Run the code above in your browser using DataLab