biomate-ai/biomate-bioconductor-kb/faers

Claude Code and agent skill by biomate-ai/biomate-bioconductor-kb

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install biomate-ai/biomate-bioconductor-kb/faers

SKILL.md

The same SKILL.md was published earlier as biomate-ai/biomate-bioconductor-kb/faers.

faers

Workflows

Standard Workflow
r
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

  • Homepage: bioconductor.org/packages/faers
  • Vignette: https://bioconductor.org/packages/release/bioc/vignettes/faers/inst/doc/FAERS-Pharmacovigilance.html

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
793
Repository forks
67
7-day trend score
33

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/biomate-ai/biomate-bioconductor-kb/faers/badge)](https://verified-skill.com/skills/biomate-ai/biomate-bioconductor-kb/faers)

Something wrong with this skill or its page? Tell us.