R: Randomly Generated Data for Learning polysat

simgen {polysat} | R Documentation

## 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)

### 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.

### Source

simulated data

### See Also

`testgenotypes`, `genambig`

[Package polysat version 1.7-6 Index]