Skip to content
cccskills
FreePublished on GitHub

bioconductor-faers

The FDA Adverse Event Reporting System (FAERS) is a database used for the spontaneous reporting of adverse events and medication errors related to human drugs and therapeutic biological products. faers pacakge serves as the interface between the FAERS database and R. Furthermore, faers pacakge offers a standardized approach for performing pharmacovigilance analysis.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

faers

Workflows

Standard Workflow

library(faers)

# 1. Check metadata of FAERS
faers_meta(internal = TRUE)

# 2. Download and parse quarterly data files
data2 <- faers(
  c(2004, 2017), 
  c("q1", "q2"), 
  dir = system.file("extdata", package = "faers"), 
  compress_dir = tempdir()
)

# 3. Retrieve specific field data (e.g., demographic data)
demo_data <- faers_get(data2, "demo")

# 4. Load standardized data and retrieve MedDRA hierarchy
data_std <- readRDS(system.file("extdata", "standardized_data.rds", package = "faers"))
meddra_hier <- faers_meddra(data_std, use = "hierarchy")

Input/Output Note: Inputs are year, quarter, and directory paths for FAERS raw data; outputs are standardized FAERS data tables and MedDRA hierarchy mappings.

When to Use

  • Accessing and parsing the FDA Adverse Event Reporting System (FAERS) quarterly data files.
  • Retrieving specific demographic, drug, or reaction fields using faers_get.
  • Standardizing drug and reaction terms to MedDRA terminology using faers_standardize and faers_meddra.

When NOT to Use

  • For analyzing clinical trial adverse events that are not part of the FAERS public database.
  • For real-time adverse event tracking (FAERS data is released quarterly).

Data Requirements

  • Raw FAERS quarterly data files (ASCII or XML format).
  • MedDRA terminology files for standardization.

Key Parameters

  • internal (FALSE): Logical indicating whether to use internal cached FAERS metadata in faers_meta.
  • dir: Directory path where FAERS data files are stored or downloaded.
  • compress_dir: Temporary directory for uncompressing downloaded files.
  • use ("hierarchy"): Component of MedDRA to retrieve (e.g., "hierarchy" or "SMQ").

Best Practices

  • Check FAERS metadata using faers_meta(internal = TRUE) to verify available quarters and file sizes before downloading.
  • Use faers_combine to merge multiple quarters of parsed FAERS data into a single object.
  • Standardize drug and reaction terms using faers_standardize with a valid MedDRA path to ensure consistent terminology.

Common Pitfalls

  • Attempting to run standardization without providing a valid path to uncompressed MedDRA data. Ensure meddra_path is correctly specified.

Alternatives

  • openfda: For querying the OpenFDA API directly instead of parsing raw quarterly files.

Citations

  • FDA Adverse Event Reporting System (FAERS) documentation.

References

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

The English summary is being prepared. Showing the original description.

bioMate-AI/biomate-bioconductor-kb793Updated Jun 21, 2026

See all skills by bioMate-AI

Report a problem with this skill