Compares aggregate association results only. Correlations use phenotypes
successfully fitted in both runs, while discovery overlap uses every
successful phenotype in either run. Native-scale statistics are reported
only when predictor, transformation, reference, and effect-scale metadata
agree for every matched phenotype.
Usage
compare_phewas(x, y, fdr_threshold = NULL, x_name = NULL, y_name = NULL)
Arguments
- x, y
Two phewas_result objects.
- fdr_threshold
FDR cutoff. By default the common cutoff recorded in
the result specifications is used.
- x_name, y_name
Optional labels for the two runs.
Value
A phewas_comparison containing matched, metrics, and
group_overlap data frames.