View source: R/gl.sim.genotypes.r
| gl.sim.genotypes | R Documentation |
Generate random genotypes for a single population drawing upon the allele frequencies from that population.
gl.sim.genotypes(x, n.ind = 200, verbose = NULL)
x |
Name of the genlight object [required]. |
n.ind |
Number of individuals to be simulated (should be less than the number of loci) [default 200] |
verbose |
Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log; 3, progress and results summary; 5, full report [default 2 or as specified using gl.set.verbosity] |
Returns a genlight object with the simulated genotypes
Custodian: Arthur Georges (Post to https://groups.google.com/d/forum/dartr)
Other data manipulation:
gl.define.pop(),
gl.drop.ind(),
gl.drop.loc(),
gl.drop.pop(),
gl.edit.recode.pop(),
gl.impute(),
gl.join(),
gl.keep.ind(),
gl.keep.loc(),
gl.keep.pop(),
gl.make.recode.ind(),
gl.merge.pop(),
gl.reassign.pop(),
gl.recode.ind(),
gl.recode.pop(),
gl.rename.pop(),
gl.sample(),
gl.sort(),
gl.subsample.ind(),
gl.subsample.loc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.