Description
load sources and offsprings from a data.frame
Usage
loadTreeDF(lhost = list(), df = data.frame(), source = "ID-source",
receptor = "ID-receptor", tinf = "Tinf", weight = "Weight")
Arguments
df
a data.frame containing tree data
source
column name for source ID
receptor
column name for receptor ID
tinf
column name for infection Time
weight
infection links probability
Value
the lhost param update with sources and offsprings