treemix.from.vcf: Generate a treemix file from vcf

Description Usage Arguments Value

View source: R/gwscaR_popgen.R

Description

Generate a treemix file from vcf

Usage

1
treemix.from.vcf(vcf, pop.list)

Arguments

vcf

A vcf file

pop.list

a list of populations

Value

A matrix of allele counts for each population for each locus, aka an input file for treemix


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