Last chance! 50% off unlimited learning
Sale ends in
These data document a dog rabies epidemic from 2003 to 2012 in Bangui, Central African Republic, and its surroundings. Data comprise dates and locations of the cases, as well as viral sequences of the pathogen for most cases.
rabies_car_2003
A list comprising a data.frame
($linelist
) and a DNAbin
matrix
($dna
). $linelist
contains the following
variables:
$index
: numeric identifier of the case
$date
: date of case reporting
$latitude
: the latitude of the collection point
$longitude
: the longitude of the collection point
$has_dna
: a logical indicating of the case has a matching
pathogen sequence in $dna
$dna
is a DNAbin
matrix
whose labels are to be matched
against $linelist$index
.
Cori et al. (submitted) A graph-based evidence synthesis approach to detecting outbreak clusters: an application to dog rabies.
# NOT RUN {
if (require(incidence) && require(ape)) {
i <- incidence(rabies_car_2003$linelist$date, 28L)
plot(i)
tre <- nj(dist.dna(rabies_car_2003$dna))
plot(tre, main = "Neighbour-Joining tree")
}
# }
Run the code above in your browser using DataLab