validate_phyloxml: Validate a 'phyloXML' object using the phyloxml.xsd schema.

Description Usage Arguments Details Value

View source: R/write.R

Description

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

Usage

1

Arguments

x

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

...

Further options passed to xml2::read_xml().

Details

The schema can be found in \Sexpr{system.file("phyloxml/phyloxml.xsd", package="rphyloxml")}. The latest version of the schema can be downloaded from http://www.phyloxml.org/

Value

TRUE or FALSE


USCbiostats/rphyloxml documentation built on Nov. 2, 2020, 11:38 a.m.