Learn R Programming

AFLPsim (version 0.4-2)

hybridindex: Estimate hybrid index por hybridsim objects

Description

This function finds maximum likelihood estimates of hybrid index as described by Buerkle (2005) using the packages introgress

Usage

hybridindex(data)

Arguments

data
an hybridsim object with the profiles of parentals and hybrids.

Value

  • A data frame with estimates of hybrid index and upper and lower limits of its 95% confidence intervals, which falls within two support units of the maximum-likelihood estimate:
  • lower95% confidence interval lower limit.
  • hMaximum-likelihood estimate of the hybrid index.
  • upper95% confidence interval upper limit.

encoding

latin1

Details

hybridindex returns a hybrid index estimate with its 95% confidence interval. See est.h and Buerkle (2005) for additional details.

References

Buerkle C. A. (2005) Maximum-likelihood estimation of a hybrid index based on molecular markers. Molecular Ecology Notes, 5: 684-687.

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

See Also

est.h

Examples

Run this code
## simulate parentals and F1 hybrids
hybrids<-hybridsim(Nmarker=50, Na=10, Nb=10, Nf1=10, type="neutral", hybrid="F1")

## estimate hybrid index
hest<-hybridindex(hybrids)

Run the code above in your browser using DataLab