Nm_private {genepop} | R Documentation |
Private allele method
Description
Estimation of Nm by private allele method of Slatkin and Barton. See this section of the Genepop executable documentation for more information on the statistical methods.
Usage
Nm_private(
inputFile,
outputFile = "",
dataType = "Diploid",
verbose = interactive()
)
Arguments
inputFile |
The path of the input file, in Genepop format |
outputFile |
character: The path of the output file |
dataType |
character: The haploid and diploid data |
verbose |
logical: whether to print some information |
Value
The path of the output file is returned invisibly.
Examples
locinfile <- genepopExample('sample.txt')
Nm_private(locinfile,'sample.txt.PRI')
if ( ! interactive()) clean_workdir(otherfiles='sample.txt')
[Package genepop version 1.2.2 Index]