writeVector {pould} | R Documentation |
Exporting Haplotype Vectors
Description
This function writes the haplotype vector and any accessory information to a text file.
Usage
writeVector(nLoc1, Res, hapVec, numSamp, writeName, genPhase, Prefix, vDir)
Arguments
nLoc1 |
Number of alleles at locus 1 |
Res |
Data frame consisting of Locus Number, Locus Name, Allele Name, Allele Count, Allele Frequency and Frequency^2 |
hapVec |
Haplotype vector |
numSamp |
The dataset's 2N value |
writeName |
The specified name for the vector |
genPhase |
Boolean describing phased (TRUE) or unphased (FALSE) analysis |
Prefix |
The specified prefix for the written vector file |
vDir |
The directory into which the vector file should be written. |
Note
This function is for internal POULD use only.
Examples
#
[Package pould version 1.0.1 Index]