toNexus: Export a population with substructure to a Nexus file

View source: R/toNexus.R

toNexusR Documentation

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(s)

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


## Don't run
## Not run: 
data(USCaucs)
p = breedFst(USCaucs)
toNexus(p)

## End(Not run)


relSim documentation built on Aug. 29, 2023, 9:07 a.m.