Skip to content

Releases: alxsrobert/o2geosocial

v1.1.2

26 Mar 10:14
Compare
Choose a tag to compare

Major changes:

  • Change the calculation and format of the connectivity matrix ("param$log_s_dens"): param$log_s_dens now contains the probability of connection between regions (rather than the log-probability) if "kappa = 1". If there is a missing generation between two connected cases (i.e. "kappa = 2"), the spatial likelihood is computed in src/likelihoods.cpp.
  • Speed up the exploration of potential infectors (in "cpp_move_alpha()" and "cpp_move_ancestors()") by computing the genotype reported in each tree.
  • In R/outbreaker_find_imports.R: imported cases do not influence the computation of "threshold" (i.e. the threshold of plausibility of a connection between cases) since they are by definition not infected by any case (and their likelihood is de facto smaller).

Minor changes:

  • Update Rcpp and remove warnings
  • Fix runtime error stemming from delta being set as Inf or -Inf
  • Add parameter "outlier_plot" to "create_config()": if TRUE, the likelihoods of connection are plotted after the first short run ("outbreaker_find_imports()")
  • Add a message to indicate how many imports were added after the first run (in R/outbreaker_find_imports.R)
  • If "config$outlier_relative == T", the same threshold of plausibility is used in R/outbreaker_find_imports.R and R/outbreaker_move.R.
    Add "cpp_gen_tree()" in src/internals.cpp: function for internal use that calculates the genotype reported in a given tree.

v1.0.2

27 May 14:25
Compare
Choose a tag to compare

Resubmission F1000Research:

Fix: f_dens is now referred to as "incubation period" rather than "colonisation time".
New version of the README

v1.0.1

11 Dec 15:17
Compare
Choose a tag to compare

First CRAN release.

Fix: Remove dependencies to unused packages in DESCRIPTION File.
Fix: Remove checks in cpp_move_swap_cases.
Fix: Consensus tree for imported cases in "summary()": the value of the column "from" for an imported case is now NA.