A wrapper of xml2::xml_validate. Performs validation of phyloXML objects using the phyloxml.xsd schema.

validate_phyloxml(x)

Arguments

x

Either an object of class xml_document or a path to a file.

Value

TRUE or FALSE

Details

The schema can be found in /home/vegayon/Documents/rphyloxml/inst/phyloxml/phyloxml.xsd . The latest version of the schema can be downloaded from http://www.phyloxml.org/