This function processes the results from SuSiE (Sum of Single Effects) genetic analysis. It extracts and processes various statistics and indices based on the provided SuSiE object and other parameters. The function can operate in 3 modes: 'susie', 'susie_rss', 'mvsusie', based on the method used for the SuSiE analysis.
Arguments
- susie_output
Output from running susieR::susie() or susieR::susie_rss() or mvsusieR::mvsusie()
- data_x
Genotype data matrix for 'susie' or Xcorr matrix for 'susie_rss'.
- data_y
Phenotype data vector for 'susie' or summary stats object for 'susie_rss' (a list contain attribute betahat and sebetahat AND/OR z). i.e. data_y = list(betahat = ..., sebetahat = ...), or NULL for mvsusie
- X_scalar
Scalar for the genotype data, used in residual scaling.
- y_scalar
Scalar for the phenotype data, used in residual scaling.
- maf
Minor Allele Frequencies vector.
- secondary_coverage
Vector of coverage thresholds for secondary conditional analysis.
- signal_cutoff
Cutoff value for signal identification in PIP values.
- other_quantities
A list of other quantities to be added to the final object.
- prior_eff_tol
Prior effective tolerance.
- min_abs_corr
Minimum absolute correlation for credible set purity filtering. Default is 0.8, which is stricter than the susieR default of 0.5. Credible sets with purity below this threshold are excluded from the results.
- mode
Specify the analysis mode: 'susie' or 'susie_rss'.