beast_phydyn: Convert tips of a phylogentic tree suitable to use with BEAST...

View source: R/dating.R

beast_phydynR Documentation

Convert tips of a phylogentic tree suitable to use with BEAST and phydyn

Description

Function that makes some manipulations on dataframes to return a tip name that is suitable to use with phydyn in BEAST. This function was written taking into consideration this specific project and might not work as it is for your own data.

Usage

beast_phydyn(m.df1, m.cgr.df2, df3, df4, all_data)

Arguments

m.df1

Dataframe object containig information for the Senegal HIV samples in which metadata associated to it is missing.

m.cgr.df2

Dataframe object containing information for the CGR sequences that metadata associated to it is missing.

df3

Dataframe object for all Senegal sequences

df4

Dataframe object for all CGR sequences

all_data

Dataframe containing all traits associated to each tip in the phylogenetic tree

Value

a dataframe with additional columns representing the tips as expected by phydyn in BEAST

Examples

TO DO

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