Skip to contents

Setup

Functions to download cleaned FAERS data from the internet and snippet to automatically structure a script.

setup_DiAna()
Set Up DiAna Environment
snippets_install_github()
Install RStudio Snippets from GitHub Repository

Datasets

Datasets made available with the DiAna package.

Sample datasets with documentation

sample_Demo
Sample Demographic Data
sample_Demo_Supp
Sample Supplementary Demographic Data
sample_Doses
Sample Data on Drug Doses
sample_Drug
Sample Data on Drug Administration
sample_Drug_Name
Sample Data on Drug Names before standardization
sample_Drug_Supp
Sample Supplementary Drug Information
sample_Indi
Sample dataset containing indications for using reported drugs.
sample_Outc
Sample Data on Individual Outcomes
sample_Reac
Sample dataset containing events (suspected adverse drug reactions) and related information.
sample_Ther
Sample Data on Therapy Details

Importing fuctions for the full downloaded FAERS data

import()
import
import_ATC()
Import ATC classification
import_MedDRA()
Import MedDRA Data

Additional datasets provided for internal use by functions

country_dictionary
Country Dictionary Dataset

Case retrieval

Functions to retrieve cases or specific subpopulations.

Retrieve cases for manual inspection

retrieve()
Retrieve data for specific primaryids

Tailor drug definition

get_drugnames()
Retrieve Drug Names from FAERS Database
Fix_DiAna_dictionary_locally()
Fix DiAna Dictionary Locally

Identify specific subpopulations

retrieve_pregnancy_pids()
Retrieve Pregnancy-Related Report Identifiers from FAERS

Descriptive functions

Functions to perform descriptive analyses.

descriptive()
Generate Descriptive Statistics for a Sample
hierarchycal_rates()
Generate Hierarchy of events or substances
reporting_rates()
Reporting rates of events or substances
render_tto()
TTO Render Forest Plot

Disproportionality functions

Functions to perform disproportionality analyses.

disproportionality_analysis()
Perform Disproportionality Analysis
disproportionality_comparison()
Disproportionality Analysis for Drug-Event Combinations
disproportionality_trend()
Disproportionality Time Trend for a Drug-Event Combination
format_input_disproportionality()
Format Input for Disproportionality Analysis
tailor_disproportionality_threshold()
Tailor Disproportionality Threshold
plot_disproportionality_trend()
Plot Disproportionality Trend
render_forest()
Render Forest Plot

Advanced analyses

Functions to perform advanced analyses, including time to onset analysis and network analysis.

Time to onset analyses

time_to_onset_analysis()
Perform time-to-onset analysis for drug-event associations
plot_KS()
Plot Kolmogorov-Smirnov (KS) plot

Network Analysis

network_analysis()
Perform Network Analysis and Visualization

DiAna specifics

Functions to retrieve DiAna reference and information about the used quarter.

DiAna_reference()
Get DiAna reference
FAERS_quarter_specifics()
Get specifics of dictionaries used in database version