wc: Computes Weir and Cockrham estimates of Fstatistics

View source: R/nwc.R

wcR Documentation

Computes Weir and Cockrham estimates of Fstatistics

Description

Computes Weir and Cockerham estimates of Fstatistics

Usage

wc(ndat,diploid=TRUE,pol=0.0)

## S3 method for class 'wc'
print(x,...)

Arguments

ndat

data frame with first column indicating population of origin and following representing loci

diploid

Whether data are diploid

pol

level of polymorphism reqesuted for inclusion. Note used for now

x

an object of class wc

...

further arguments to pass to print.wc

Value

sigma

variance components of allele frequencies for each allele, in the order among populations, among individuals within populations and within individuals

sigma.loc

variance components per locus

per.al

FST and FIS per allele

per.loc

FST and FIS per locus

FST

FST overall loci

FIS

FIS overall loci

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Examples

data(gtrunchier)
wc(gtrunchier[,-1])

jgx65/hierfstat documentation built on April 20, 2023, 8:34 a.m.