Learn R Programming

relSim (version 1.0.0)

toNexus: Export a population with substructure to a Nexus file

Description

Exports a population with population substructure to a Nexus formatted file so that GDA can be used to check the Fst calculations

Usage

toNexus(Pop, fileName = "output.nex")

Arguments

Pop

An object of type 'population' - see breedFst for a description of the object

fileName

The name of the file output file

Author

James M. Curran

References

Maddison DR, Swofford DL, Maddison WP (1997), NEXUS: An extensible file format for systematic information, Systematic Biology 46 (4): 590--621.

Zaykin, D. and Lewis, P., GDA - software to accompany Genetic Data Analysis II, <http://phylogeny.uconn.edu/software/>.

See Also

breedFst

Examples

Run this code

## Don't run
if (FALSE) {
data(USCaucs)
p = breedFst(USCaucs)
toNexus(p)
}

Run the code above in your browser using DataLab