Takes one or more CLUMPP format numeric text files and converts them to a list of dataframes.
readQClumpp(files = NULL)
files | A character or character vector of one or more COMBINED, ALIGNED
or MERGED files. COMBINED files are generated from |
---|
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.
See the vignette for more details.
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)