replace_values: Replace tip names used in a phylogentic tree

View source: R/dating.R

replace_valuesR Documentation

Replace tip names used in a phylogentic tree

Description

It replaces sample sequence names to reflect the input as expected by PhyDyn in BEAST. This is an internal function used by other functions in this package.

Usage

replace_values(metadata)

Arguments

metadata

Object of class dataframe.

Value

Return HIV sample names by replacing to decimal format the part of the name separeted by a dash (_) which contains only the year of sample collection.

Examples

To do

thednainus/senegalHIVmodel documentation built on Oct. 14, 2024, 5:46 a.m.