add_node_tip: Add one tip

Description Usage Arguments Value

View source: R/output_treeGenerator.r

Description

Add a tip to the transmission tree corresponding to the sampled individual.

Usage

1
add_node_tip(tree, host, time, label, state)

Arguments

tree

transmission tree of class treedata, result of getTransmissionTree

host

ID of the host

time

time of the sampling event

label

label of the new tip to be added

state

state of the sampled individual

Value

modified tree, with on extra tip of length zero at the right place of the tree


nosoi documentation built on Aug. 17, 2021, 5:09 p.m.