Learn R Programming

Claddis (version 0.3.4)

WriteMorphTNT: Writes out a morphological TNT data file

Description

Writes out a morphological data file in Hennig86/TNT format.

Usage

WriteMorphTNT(CladisticMatrix, filename, add.analysis.block = FALSE)

Arguments

CladisticMatrix

The cladistic matrix in the format imported by ReadMorphNexus.

filename

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

add.analysis.block

Whether or not to add analysis block (i.e., tree search commands).

Details

Writes out a TNT (Goloboff et al. 2008) data file representing the distribution of discrete morphological characters in a set of taxa. Data must be in the format created by importing data with ReadMorphNexus.

References

Goloboff, P., Farris, J. and Nixon, K., 2008. TNT, a free program for phylogenetic analysis. Cladistics, 24, 774-786.

See Also

WriteMorphNexus

Examples

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

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

# }

Run the code above in your browser using DataLab