View source: R/summary_utils.R
get_chain | R Documentation |
Get transmission chains
get_chain(df1, tm)
df1 |
Dataframe containing information of summarized results obtained with phyloscanner after running the function summarize_trans. |
tm |
Transmission matrix containing the information of who transmitted whom. |
all_trans |
List of dataframes containing the transmission chains for each ID. |
This function will go over each transmission to create a "transmission chain from ID1 to ID5, for example. This will help indentify in which circunstances phyloscanner indetified two IDs as a transmission pair, when they were not one.
A dataframe with the transmission chain and the time of transmissions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.