gwsca: Conduct selection components analysis

Description Usage Arguments Value

View source: R/gwscaR.R

Description

Conduct selection components analysis

Usage

1
2
gwsca(vcf, locus.info, group1, group2, prop.ind.thresh = 0.5,
  maf.cutoff = 0.05)

Arguments

vcf

A data.frame with genotype data in vcf format

locus.info

A list of column names with the locus info (e.g. c(#CHROM,POS))

group1

A list of column names with individuals from the first group

group2

A list of column names with individuals from the second group

prop.ind.thresh

A proportion of indidivudals requried in each population (default is 0.5)

maf.cutoff

A minimum allele frequency cutoff (default is 0.05)

Value

A dataframe with the Fst values and Chi-squared values


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