get_alignment_ids_from_xml: Get the alignment IDs from one or more 'BEAST2' XML input...

View source: R/get_alignment_ids_from_xml.R

get_alignment_ids_from_xmlR Documentation

Get the alignment IDs from one or more 'BEAST2' XML input files.

Description

Get the alignment IDs from one or more 'BEAST2' XML input files.

Usage

get_alignment_ids_from_xml(xml_filename)

Arguments

xml_filename

name of a 'BEAST2' XML input file.

Value

a character vector with one or more alignment IDs.

Author(s)

Richèl J.C. Bilderbeek

Examples

beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()

alignment_ids <- get_alignment_ids_from_xml(
  get_babette_path("anthus_2_4.xml")
)

beastier::remove_beaustier_folders()
beastier::check_empty_beaustier_folders()

richelbilderbeek/rbeast2 documentation built on July 2, 2024, 9:39 p.m.