readQBasic: Convert delimited text files to qlist.

Description Usage Arguments Details Value Examples

View source: R/read.R

Description

Takes one or more delimited numeric text files and converts each of them to separate dataframes.

Usage

1

Arguments

files

A character or character vector of one or more delimited text files. Use choose.files(multi=TRUE) to select interactively.

Details

Input files can be Admixture run files, fastStructure meanQ files. or any tab-delimited, space-delimited or comma-delimited tabular data without header. See the vignette for more details.

Value

A list of lists with dataframes is returned. List items are named by input filename.

Examples

1
2
3
4
afiles <- list.files(path=system.file("files/admixture",package="pophelper"),
full.names=TRUE)
# create a qlist
alist <- readQBasic(afiles)

royfrancis/pophelper documentation built on Jan. 1, 2021, 4:58 p.m.