organize_metadata_bySubtype: Organize metadata by HIV subtype.

Description Usage Arguments Value Examples

View source: R/dating.R

Description

Function that organizes metadata for dating analysis purpose. It will subset data for subtypes B, C and CRF 02_AG, and collection date will be formated as decimal for tip dating analysis

Usage

1
organize_metadata_bySubtype(all_data_SN, all_data_CGR, code)

Arguments

all_data_SN

Object of class dataframe. This dataframe contains metadata for Senegal sequences

all_data_CGR

Object of class dataframe. This dataframe contains metadata for CGR sequences

code

If code = 1, it will return as a list dataframes for each subtype, and collection dates are formatted to decimal. If code = 2, it will return a list of dataframes for (1) all Senegal and CGR sequences and (2) samples in which collection date is missing.

Value

a list of dataframes

Examples

1
TO DO

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