Learn R Programming

corrsieve (version 1.6-9)

read.struct: Read.struct

Description

Reads the K values, Fsts, lnPDs from structure files in the folder specified in the filepath option

Usage

read.struct(filepath = "./", instruct = FALSE)

Arguments

filepath

a character string listing the folder's path from the current directory

instruct

when TRUE, data is in INSTRUCT format, else data is in STRUCTURE format

Value

Returns a table listing K values, lnPDs and Fsts for all STRUCTURE results files in the designated folder