ListTaxa: List taxa names present in the BEAST input file
Description
This function list the taxa names present in an input xml file for the BEAST version 1 software.
The function is intended to help using the function "TaxonOut" as it allows
the identification of the order of each taxa present in the input file.
Usage
ListTaxa(name)
Arguments
name
Name of the input file should be a .xml file generated using BEAUTi. Quote the name ("example").
Do not included .xml.
Value
The function returns the names and order of the taxa present in an input xml file for the BEAST software.
Details
The function works only with a .xml file generated with BEAUti
References
Rieux A & Khatchikian, C. Unpublished.
Drummond AJ, Suchard MA, Xie D & Rambaut A (2012) Bayesian phylogenetics with BEAUti and the BEAST 1.7.
Molecular Biology And Evolution 29: 1969-1973.
# using one of the files included as example in BEAST distribution ("Flu.xml")# example file can be found in the example folder ListTaxa("Flu")
# list all 21 taxa in the file in the console