Learn R Programming

genepop (version 1.2.2)

basic_info: 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())

Value

The path of the output file is returned invisibly.

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

Examples

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

Run the code above in your browser using DataLab