findMRCIs: Find MRCIs

Description Usage Arguments Value Author(s) Examples

Description

Function to find the most recent common infector (MRCI) matrix from "who infected whom" information.

Usage

1
findMRCIs(wiw)

Arguments

wiw

a two-column matrix where the first column represents the infectors and the infectees; each row corresponds to a transmission event from an infector to an infectee.

Value

Returns three objects:

Author(s)

Michelle Kendall michelle.louise.kendall@gmail.com

Examples

1
2
3
## a simple who infected whom matrix:
tree1 <- cbind(Infector=1:5,Infectee=2:6) 
findMRCIs(tree1)

thibautjombart/treescape documentation built on May 31, 2019, 10:38 a.m.