get_subset_tips: Get subset of susceptibles and infected individuals

View source: R/summary_utils.R

get_subset_tipsR Documentation

Get subset of susceptibles and infected individuals

Description

This function get the pairs of inf and sus individuals given a transmission matrix.

Usage

get_subset_tips(tips, tm)

Arguments

tips

Vector of tip names (without the "ID")

tm

Dataframe of transmission matrix containing information of who transmitted to whom and at what time transmission happened.

Value

List of pairs of sus and inf individuals


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