Learn R Programming

pophelper (version 1.2.0)

tabulateRunsTess: Tabulate TESS runs

Description

Creates a table from TESS output files with filenames, K and number of individuals.

Usage

tabulateRunsTess(files = NULL, writetable = FALSE, sorttable = TRUE,
  quiet = FALSE)

Arguments

files

A character vector of TESS cluster files to be tabulated. On windows, use choose.files(multi = TRUE) for interactive selection. Use collectRunsTess() to collect TESS runs from multiple folders into one.

writetable

A logical indicating if output table must be exported as a tab-delimited text file in the working directory.

sorttable

A logical indicating if output table is to be sorted. Sorts table by ind and K.

quiet

A logical indicating if a message showing the number of selected files is displayed. The message is supressed if set to T.

Value

Returns a dataframe with filenames, K and number of individuals of all runs sorted by ind and K (if sorttable = T). The row numbers of the output table denotes the file number selected. This is helpful if a particular file from the table needs to be identified in the selection vector.

See Also

tabulateRunsStructure, tabulateRunsMatrix

Examples

Run this code
# NOT RUN {
tlist <- list.files(path=system.file("files/tess",package="pophelper"),full.names=TRUE)
tabulateRunsTess(files=tlist)
# }

Run the code above in your browser using DataLab