data("Lobo", package = "TreeTools")
WriteTntCharacters(Lobo.phy)
# Read with extended implied weighting
WriteTntCharacters(Lobo.phy, pre = "piwe=10;", post = "xpiwe=;")
# Write to a file with:
# WriteTntCharacters(Lobo.phy, "example_file.tnt")
Run the code above in your browser using DataLab