Learn R Programming

poolABC (version 1.0.0)

createHeader: 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)

Value

a character vector with the column names for a _rc popoolation2 file.

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.

Examples

Run this code
createHeader(nPops = 10)

Run the code above in your browser using DataLab