Learn R Programming

hierfstat (version 0.5-11)

wc: 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 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

Examples

Run this code
# NOT RUN {
data(gtrunchier)
wc(gtrunchier[,-1])
# }

Run the code above in your browser using DataLab