pairwise.fst: Calculate pairwise Fst values

Description Usage Arguments Value

View source: R/gwscaR_fsts.R

Description

Calculate pairwise Fst values

Usage

1
pairwise.fst(ped, allele1, allele2, pop.order)

Arguments

ped

A dataframe with data in ped format, where each allele for each locus is in its own column

allele1

An index for the first allele at the locus

allele2

An index for the second allele at the locus

pop.order

A list with the Pop IDs in the correct order

Value

dat.var A matrix of pairwise fst values (calculated as (ht-hs)/ht)


spflanagan/gwscaR documentation built on Nov. 14, 2019, 9:16 p.m.