Adjusts SuSiE TWAS weights by subsetting to intersected variants and optionally running allele QC against LD reference variants.
Arguments
- twas_weights_results
A list containing TWAS weight data (nested structure).
- keep_variants
Vector of variant names to keep.
- run_allele_qc
Whether to run allele_qc to align alleles. Default TRUE.
- variable_name_obj
Path to variant names in the nested list.
- susie_obj
Path to susie result in the nested list.
- twas_weights_table
Path to weights table in the nested list.
- LD_variants
Vector of LD reference variant IDs for allele QC.
- match_min_prop
Minimum proportion of matched variants. Default 0.2.