build_ages.Rd
For each nexus dataset, locate an XML file containing ages. If any are missing, query PBDB to see if they can be found. Returns a TSV-file of ages per tip.
build_ages(data_path, xml_path, out_path)
data_path | A path to nexus datafiles |
---|---|
xml_path | A path to xml metadata for each dataset |
outpath | Where you'd like to write the data to. |
AgesMatrix A dataframe of taxa and their minimum and maximum occurrence