powered by
This function writes the haplotype vector and any accessory information to a text file.
writeVector(nLoc1, Res, hapVec, numSamp, writeName, genPhase, Prefix, vDir)
Number of alleles at locus 1
Data frame consisting of Locus Number, Locus Name, Allele Name, Allele Count, Allele Frequency and Frequency^2
Haplotype vector
The dataset's 2N value
The specified name for the vector
Boolean describing phased (TRUE) or unphased (FALSE) analysis
The specified prefix for the written vector file
The directory into which the vector file should be written.
# NOT RUN { # # }
Run the code above in your browser using DataLab