replace_values: Replace tip names used in a phylogentic tree

Description Usage Arguments Value Examples

View source: R/dating.R

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

1
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

1
To do

thednainus/senegalHIVmodel documentation built on Oct. 28, 2021, 3:11 p.m.