emcAdr1.2 package

Evolutionary Version of the Metropolis-Hastings Algorithm

ATCtoNumeric

Convert ATC Code for each patients to the corresponding DFS number of ...

calculate_divergence

Calculate the divergence between 2 distributions (the true Distributio...

clustering_genetic_algorithm

Clustering of the solutions of the genetic algorithm using the hclust ...

compute_hypergeom_on_list

Function used to compute the Hypergeometric score on a list of cocktai...

compute_RR_on_list

Function used to compute the Relative Risk on a list of cocktails

computeMetrics_size2

Function used in the reference article to compare diverse Disproportio...

csv_to_population

Function used to convert your genetic algorithm results that are store...

DistributionApproximation

The MCMC method that runs the random walk on a single cocktail in orde...

emcAdr-package

tools:::Rd_package_title("emcAdr")

GeneticAlgorithm

Genetic algorithm, trying to reach riskiest cocktails (the ones which ...

get_dissimilarity_from_cocktail_list

Recover the square matrix of distance between cocktails where the inde...

get_dissimilarity_from_genetic_results

Recover the square matrix of distance between cocktails where the inde...

get_dissimilarity_from_txt_file

Recover the square matrix of distance between cocktails where the inde...

hclust_genetic_solution

Clustering of the solutions of the genetic algorithm using the hclust ...

histogramToDitribution

Convert the histogram returned by the DistributionApproximation functi...

hyperparam_test_genetic_algorithm

This function can be used in order to try different set of parameters ...

int_cocktail_to_string_cocktail

Function used to convert integer cocktails (like the one outputed by t...

OutsandingScoreToDistribution

Output the outstanding score (Outstanding_score) outputed by the MCMC ...

p_value_cocktails

Used to add the p_value to each cocktail of cocktail list

p_value_csv_file

Used to add the p_value to each cocktail of a csv_file that is an outp...

p_value_genetic_results

Used to add the p_value to each cocktail of an output of the genetic a...

p_value_on_sampled

Calculate p-value of sampled value

plot_evolution

Plot the evolution of the mean and the best value of the population us...

plot_frequency

Plot the histogram of the approximation of the RR distribution

print_csv

Print every cocktails found during the genetic algorithm when used wit...

qq_plot_output

Make a Quantile-Quantile diagram from the output of the MCMC algorithm...

string_list_to_int_cocktails

Function used to convert a string vector of drugs in form "drug1:drug2...

trueDistributionDrugs

The true distribution of the score among every single nodes of the ATC

trueDistributionSizeTwoCocktail

The true distribution of the score among every size-two cocktails

Provides computational methods for detecting adverse high-order drug interactions from individual case safety reports using statistical techniques, allowing the exploration of higher-order interactions among drug cocktails.

  • Maintainer: Jules Bangard
  • License: GPL-3
  • Last published: 2025-02-27