write_nexus_matrix {Claddis} | R Documentation |
Writes out a morphological #NEXUS data file
Description
Writes out a morphological data file in #NEXUS format.
Usage
write_nexus_matrix(cladistic_matrix, file_name)
Arguments
cladistic_matrix |
The cladistic matrix in the format imported by read_nexus_matrix. |
file_name |
The file name to write to. Should end in |
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 read_nexus_matrix.
Author(s)
Graeme T. Lloyd graemetlloyd@gmail.com
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
build_cladistic_matrix, compactify_matrix, prune_cladistic_matrix, read_nexus_matrix, safe_taxonomic_reduction, write_tnt_matrix
Examples
# Write out Michaux 1989 to current working directory:
write_nexus_matrix(cladistic_matrix = michaux_1989, file_name = "michaux_1989.nex")
# Remove file when finished:
file.remove(file1 = "michaux_1989.nex")
[Package Claddis version 0.6.3 Index]