returnFilename: Simulation Data File Name for a DAG-based SR Data Set

Description Usage Arguments Value

View source: R/returnFilename.R

Description

Returns the simulation data file name given a parameter setting

Usage

1
2
3
returnFilename(n_reports, n_drugs, n_events, alpha_drugs, beta_drugs,
  alpha_events, beta_events, n_innocent_bystanders, theta_drugs,
  n_correlated_pairs, theta, repetitions, type = "raw")

Arguments

n_reports

Number of reports

n_drugs

Number of drugs

n_events

Number of adverse drug events

alpha_drugs

Alpha parameter for the drug marginal probabilities

beta_drugs

Beta parameter for the drug marginal probabilities

alpha_events

Alpha parameter for the event marginal probabilities

beta_events

Beta parameter for the event marginal probabilities

theta_drugs

The increase in odds-ratio when there is a connection between two drugs

n_correlated_pairs

Number of drug-event pairs that will exhibit a nonzero correlation

theta

Increase in odds-ratio when there is an edge going from a drug to an event

repetitions

An array of repetitions one want to get

type

Type of data. Takes the values "raw" for the raw data, "results" for the table with the output of the methods in the function applyBatteryOfMethods and "auc" for the AUC filenames.

method

The method used for generating the random DAG for the drugs

exp_degree

Average degree between the drugs in the random DAG

Value

A vector of filenames


bips-hb/pvmcomparison documentation built on Dec. 13, 2020, 3:46 a.m.