loadTreeDF {SMITIDstruct} | R Documentation |
loadTreeDF
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
lhost |
a HostSet |
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
[Package SMITIDstruct version 0.0.5 Index]