# Tabulate, analyse and visualise admixture proportions from STRUCTURE, TESS, BAPS, ADMIXTURE and tab-delimited q-matrices files

## Documentation for package ‘pophelper’ version 2.2.7

- DESCRIPTION file.
- Package NEWS.

## Help Pages

analyseQ | Analyse STRUCTURE, TESS, BAPS or BASIC text runs. Wrapper around several smaller functions.
checkQ | Internal: Check input filetype.
clumppExport | Generate CLUMPP output from a qlist
collectClumppOutput | Collect CLUMPP output files from multiple folders
collectRunsTess | Collect TESS cluster run files from multiple folders
distructColors | Internal: Vector of 90 Distruct colours
distructColours | Internal: Vector of 90 Distruct colours
distructExport | Generate files for DISTRUCT.
evannoMethodStructure | Perform the Evanno method for STRUCTURE runs.
getColors | Internal: Generate colours based on number of K
getDim | Internal: Get dimensions for figures.
getOS | Internal: Find current OS
getPlotParams | Internal: Generate parameters for plots with labels
grpLabels | Internal: Handles grp subset/order
is.qlist | Verify if a qlist is formatted correctly.
plotQ | Generate barplots from qlists.
plotQMultiline | Plot a qlist as individual-level multiline barplot
readQ | Convert run files (q-matrices) to qlist.
readQBaps | Convert BAPS cluster files to qlist.
readQBasic | Convert delimited text files to qlist.
readQClumpp | Convert CLUMPP format numeric text files to qlist.
readQStructure | Convert STRUCTURE run files to qlist.
readQTess | Convert TESS cluster files to qlist.
readQTess3 | Convert TESS3 R object to pophelper qlist.
sortInd | Internal: Handles individual sorting
summariseQ | Summarise a tabulated dataframe
summarizeQ | Summarise a tabulated dataframe
tabulateQ | Tabulate runs from a qlist
unitConverter | Internal: Convert value between dimension units
verifyGrplab | Verify if a grplab dataframe is formatted correctly.