sim2introgress: Converting hybridsim object to introgress

Description Usage Arguments Value Author(s) References See Also Examples

Description

The function sim2introgress converts a hybridsim object into an introgress input file. It is a wrapper to the function prepare.data of the package introgress

Usage

1

Arguments

x

a hybridsim object

Value

a list returned by the function prepare.data of the package introgress

Author(s)

F. Balao fbalao@us.es, J.L. García-Castaño

References

Gompert, Z. & C.A. Buerkle. 2010. introgress: a software package for mapping components of isolation in hybrids. Molecular Ecology Resources 10: 378-384.

See Also

prepare.data sim2arlequin sim2bayescan sim2newhybrids sim2popgene sim2structure

Examples

1
2
3
4
5
## simulate hybrids
hybrids<-hybridsim(Nmarker=100,Na=100,Nb=100,Nf1=30, type="selection", hybrid="all")

## convert to introgress input file
hybrids2<-sim2introgress(hybrids)

fbalao/AFLPsim documentation built on May 16, 2019, 11:09 a.m.