View source: R/epi__epiLinksPatientIsolates.R
epiLinksPatientIsolates | R Documentation |
Finding out epidemiologically linked isolates within the same each genetic cluster c as isolates of a specific patient.
epiLinksPatientIsolates(p, c, L, D, G, d_max = 90, e_max = 90)
p |
A patient ID that can be found in L |
c |
Genetic cluster of interest |
L |
A data frame of four columns: "Isolate", "Cluster", "Patient", "Lab"; "Cluster" stands for genetic clusters, and "Lab" may represent a hospital or healthcare trust. |
D |
A symmetric matrix of maximum days between possible collection dates of isolates |
G |
A symmetric matrix of genetic distances |
d_max |
maximum days to define an epidemiological link |
e_max |
maximum days to define an episode of infection or carriage |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.