loci2migrate: From Loci to Migrate

Description Usage Arguments Details Value

Description

Convert ipyrad's output file (*.loci) into migrate-n's input file

Usage

1
loci2migrate(locipath, poppath, filename)

Arguments

locipath

(char) path to *.loci to be converted

poppath

(char) path to file contains population info, which the first column is the individuals' labels and the second column is the population label. The file should be tab delimited.

filename

(char) path for output file

Details

if any locus is not found in all the populations, it will be determined as "missing locus" and removed. You can find which locus are removed in the metadata header of the converted file.

Value

a converted file


jinyung/loci2migrate documentation built on July 2, 2019, 8:44 p.m.