Learn R Programming

Claddis (version 0.3.4)

WriteMorphNexus: Writes out a morphological #NEXUS data file

Description

Writes out a morphological data file in #NEXUS format.

Usage

WriteMorphNexus(CladisticMatrix, filename)

Arguments

CladisticMatrix

The cladistic matrix in the format imported by ReadMorphNexus.

filename

The file name to write to. Should end in .nex.

Details

Writes out a #NEXUS (Maddison et al. 1997) data file representing the distribution of characters in a set of taxa. Data must be in the format created by importing data with ReadMorphNexus.

References

Maddison, D. R., Swofford, D. L. and Maddison, W. P., 1997. NEXUS: an extensible file format for systematic information. Systematic Biology, 46, 590-621.

See Also

WriteMorphTNT

Examples

Run this code
# NOT RUN {
# Write out Michaux 1989 to current working directory:
WriteMorphNexus(CladisticMatrix = Michaux1989, filename = "Michaux1989.nex")

# Remove file when finished:
file.remove("Michaux1989.nex")

# }

Run the code above in your browser using DataLab