Skip to content

Make the pharmacovigilance analysis results clearer. #11

@MadDERt

Description

@MadDERt

Construct a clear-result.R script to transform the raw statistical signal detection results into a standardized, publishable format.

Input Validation and Preprocessing

  • Integrity Check: Automatically verify the presence of required columns (term column, case count column).
  • Data Cleaning: Handle missing values, filter out zero cases, and apply a minimum case count threshold.
  • Format Standardization: Automatically convert data.table to data.frame.

Construct a method selection mechanism.

  • Custom Selection: Users can define their own combination of methods to use.
  • Detailed Report: Display a list of configured methods.

Significance Screening System

  • Combined Screening Logic: Retain records if any one method indicates significance.
  • Standard Statistical Thresholds (in line with regulatory requirements):
    ROR: ROR > 2 & 95% CI lower limit > 1
    PRR: PRR ≥ 2, χ² ≥ 4, and case count ≥ 3
    BCPNN: IC > 0 & IC025 > 0
    EBGM: EBGM > 2 & EBGM05 > 1
  • Custom Criteria Support: Allow users to define their own significance criteria.

Customizable Format Output System

  • Users can choose to output in the original format or the processed format.

Data Processing and Display Optimization

  • Flexible Sorting: Sort by user-specified columns, supporting both ascending and descending order.
  • Row Limitation: Limit the number of output records.
  • Value Formatting: Uniformly retain two decimal places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions