-
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>-
labelis a unique string identifier that is used to map a Lineage object to a leaf/node label of a user-specified input tree. -
typeidentifies the LineageType that this Lineage object is an instance of. -
sampling.timerecords the time at which the pathogen was sampled. -
locationrecords the source from where the pathogen was sampled from, and is a reference to a Compartment object. Thelocationattribute will change as Lineages are traced back in time. -
replicatesis a convenience parameter that is used to generate two or more Lineage objects belonging to the samehostCompartment object. Ifreplicatesis set to an integer value greater than 1, thensampling.timeaccepts either a single integer value to be applied to all Lineage objects, or a vector of equal length toreplicatesspecifying individual sampling times.