Learn R Programming

TipDatingBeast (version 1.0-5)

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.

Examples

Run this code
# NOT RUN {
    # using the example files "Flu-BEAST-1.8.xml" found in example folder.
	# example file can be found in the example folder
	ListTaxa("Flu-BEAST-1.8")
	# list all 21 taxa in the file in the console 
# }

Run the code above in your browser using DataLab