reorder_tip_names: Reorder tip names

View source: R/phylo_utils.R

reorder_tip_namesR Documentation

Reorder tip names

Description

Function to reorder the tip names of a phylogenetic tree.

Usage

reorder_tip_names(tip_names_migrant, tip_names_vts)

Arguments

tip_names_migrant

Vector of tip names in the form of ID_migrant

tip_names_vts

Vector of tip names as returned by using the VirusTreeSimulator.

Details

Vector of tip_names_migrant will be reordered according to vector tip_names_vts.

Value

A vector with the reordered tip names


thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.