-
Notifications
You must be signed in to change notification settings - Fork 2
Lineage
Tammy Ng edited this page Feb 16, 2018
·
4 revisions
A Lineage is an object representing an individual pathogen lineage.
Lineages:
<label>:
type: <reference to LineageType object>
sampling.time: <sampling time of pathogen>
location: <reference to Compartment pathogen was sampled from>
replicates: <propagate to replicate Lineage objects>
-
label
is a unique string identifier that is used to map a Lineage object to a leaf/node label of a user-specified input tree. -
type
identifies the LineageType that this Lineage object is an instance of. -
sampling.time
records the time at which the pathogen was sampled. -
location
records the source from where the pathogen was sampled from, and is a reference to a Compartment object. Thelocation
attribute will change as Lineages are traced back in time. -
replicates
is a convenience parameter that is used to generate two or more Lineage objects belonging to the samehost
Compartment object. Ifreplicates
is set to an integer value greater than 1, thensampling.time
accepts either a single integer value to be applied to all Lineage objects, or a vector of equal length toreplicates
specifying individual sampling times.