createHeader {poolABC} | R Documentation |
Create a header for a _rc file of popoolation2
Description
Creates a header for files in the _rc format of the popoolation2
software. This header can be applied to a matrix as column names.
Usage
createHeader(nPops)
Arguments
nPops |
is an integer specifying how many different populations exist in the _rc file. |
Details
Please note that the first 9 columns are a default output of the
popoolation2
software and thus this functions maintains the same
names.
Value
a character vector with the column names for a _rc popoolation2 file.
Examples
createHeader(nPops = 10)
[Package poolABC version 1.0.0 Index]