basic_info: Allele and genotype frequencies

View source: R/Genepop.R

basic_infoR Documentation

Allele and genotype frequencies

Description

Allele and genotype frequencies per locus and per sample. See this section of the Genepop executable documentation for more information on the statistical methods.

Usage

basic_info(inputFile, outputFile = "", verbose = interactive())

Arguments

inputFile

The path of the input file, in Genepop format

outputFile

character: The path of the output file

verbose

logical: whether to print some information

Value

The path of the output file is returned invisibly.

Examples

locinfile <- genepopExample('sample.txt')
basic_info(locinfile,'sample.txt.INF')
if ( ! interactive()) clean_workdir(otherfiles='sample.txt')

genepop documentation built on Jan. 22, 2023, 1:07 a.m.