createHeader: Create a header for a _rc file of popoolation2

View source: R/functions_import.R

createHeaderR 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)


poolABC documentation built on Aug. 8, 2023, 5:14 p.m.