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

Description Usage Arguments Value Examples

View source: R/dating.R

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

1
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

1
TO DO

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