Description 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.
Reactions are currently unavailable
You can’t perform that action at this time.
Construct a
clear-result.Rscript to transform the raw statistical signal detection results into a standardized, publishable format.Input Validation and Preprocessing
Construct a method selection mechanism.
Significance Screening System
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
Customizable Format Output System
Data Processing and Display Optimization