Learn R Programming

polysat (version 1.7-7)

simgen: Randomly Generated Data for Learning polysat

Description

genambig object containing simulated data from three populations with 100 individuals each, at three loci. Individuals are a random mixture of diploids and tetraploids. Genotypes were generated according to pre-set allele frequencies.

Usage

data(simgen)

Arguments

Format

A genambig object with data in the Genotypes, PopInfo, PopNames, Ploidies and Usatnts slots. This is saved as an .RData file. simgen was created using the code found in the “simgen.R” file in the “extdata” directory of the polysat package installation. This code may be useful for inspiration on how to create a simulated dataset.

See Also

testgenotypes, genambig