View source: R/summary_utils.R
check_linked_transmissions | R Documentation |
This function will check whether a pair of individuals (host.1 and host.2) are linked because intermediary individuals were involved. For example, host.3 infected host.1 and host.2.
check_linked_transmissions(df1, tm)
df1 |
Dataframe containing information of summarized results obtained with phyloscanner after running the function summarize_trans. |
tm |
Dataframe of transmission matrix containing information of who transmitted to whom and at what time transmission happened. |
Dataframe with a new column "trans" with only the pair of individuals that are linked. The value for column "trans" will be "linked" or "not linked".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.