check_true_transmissions: Check whether a pair of individuals represent a true...

View source: R/summary_utils.R

check_true_transmissionsR Documentation

Check whether a pair of individuals represent a true transmission.

Description

This function will check whether a pair of individuals (host.1 and host.2) represent a true transmission from host.1 to host.2 independent of phyloscanner results.

Usage

check_true_transmissions(df1, tm)

Arguments

df1

Dataframe containing information of summarized results obtained with phyloscanner after running the function summarize_trans.

tm

Dataframe containing information of the transmission matrix.

Value

Dataframe with a new column "trans" with only the individuals that represent a true transmission with correct direction of transmission. The value for column "trans" will be "true" (for true transmission).


thednainus/HIVepisimAnalysis documentation built on Sept. 21, 2023, 7:32 a.m.