Skip to content

Functions to facilitate work with the R programming language and TNT (parsimony phylogenetic analysis program).

License

Notifications You must be signed in to change notification settings

eascarrunz/tntrtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

tntrtools

Custom R functions for interacting with TNT.

This is a small collection of custom R utility functions for working with TNT. These are mostly complementary to Nick Matzke's TNTR.

The code is clunky and has not been tested extensively. Use with caution!

Functions available

writecont.tnt

Export a matrix of continuous data into the TNT matrix format for analysis of continuous characters "as such" (Goloboff et al. 2006).

writeland.tnt

Export an array or list of arrays with 2D or 3D landmark coordinates into TNT matrix format for analysis with spatial optimisation (Catalano et al. 2010). Multiple arrays in a list will be interpreted as different configurations ("characters").

write.tree.tnt

Export ape's phylo or multiPhylo objects into the TNT parenthetical tree format. Optionally, it creates a dummy matrix for reading the trees in TNT without previous data in memory.

References

Catalano SA, Goloboff PA, Giannini NP. 2010. Phylogenetic morphometrics (I): the use of landmark data in a phylogenetic framework. Cladistics 26:539–549. doi:10.1111/j.1096-0031.2010.00302.x

Goloboff PA, Mattoni CI, Quinteros AS. 2006. Continuous characters analyzed as such. Cladistics 22:589–601. doi:10.1111/j.1096-0031.2006.00122.x

About

Functions to facilitate work with the R programming language and TNT (parsimony phylogenetic analysis program).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages