weir: Calculation of F_{is} based on Weir and Cockerham 1984

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

View source: R/weir.R

Description

Function used internally by Demerelate and F.stat to calculate F_{is} values based on Weir and Cockerham (1984) statistics.

Usage

1
2
     weir(tab.pop, tab.freq, popsize)
     

Arguments

tab.pop

Dataframe following format of inputformat only column three and four are used for calculations.

tab.freq

Vector of allele frequencies with name of each allele in column name.

popsize

Population size.

Details

The function provides the alternative methods to Nei's F_{is} calculation. F_{is} values are calculated according to Weir and Cockerham 1984. Consult references for details

Value

fis.weir

F_{is} value calculated by method of Weir and Cockerham 1984

Author(s)

Philipp Kraemer, <[email protected]>

References

Weir, B.S. and Cockerham, C.C. (1984) Estimating F-Statistics for the analysis of population structure. Evolution, 38, 1358-1370.

See Also

Fis.calc F.stat Fis

Examples

1
2
3
     ## internal function of F.stat not intended for direct usage
     
     

Demerelate documentation built on May 30, 2017, 8:14 a.m.