powered by
Creates a header for files in the _rc format of the popoolation2 software. This header can be applied to a matrix as column names.
popoolation2
createHeader(nPops)
a character vector with the column names for a _rc popoolation2 file.
is an integer specifying how many different populations exist in the _rc file.
Please note that the first 9 columns are a default output of the popoolation2 software and thus this functions maintains the same names.
createHeader(nPops = 10)
Run the code above in your browser using DataLab