Takes one or more CLUMPP format numeric text files and converts them to a list of dataframes.

readQClumpp(files = NULL)

Arguments

files

A character or character vector of one or more COMBINED, ALIGNED or MERGED files. COMBINED files are generated from clumppExport. ALIGNED and MERGED files are generated by CLUMPP. Use choose.files(multi=TRUE) to select interactively.

Value

A list of lists with dataframes is returned. Each list item is named by input filename. Multiple runs within one file are suffixed by -1, -2 etc.

Details

See the vignette for more details.

Examples

cfiles1 <- system.file("files/STRUCTUREpop_K4-combined.txt",package="pophelper") cfiles2 <- system.file("files/STRUCTUREpop_K4-combined-aligned.txt", package="pophelper") cfiles3 <- system.file("files/STRUCTUREpop_K4-combined-merged.txt", package="pophelper") # create a qlist clist1 <- readQClumpp(cfiles1) clist2 <- readQClumpp(cfiles2) clist3 <- readQClumpp(cfiles3)