This function preprocesses summary statistics and LD data for RSS analysis. It performs allele quality control, flipping alleles as necessary, and removes specified regions from the analysis.
Arguments
- sumstats
A data frame containing summary statistics with columns "chrom", "pos", "A1", and "A2".
- LD_data
A list containing combined LD variants data that is generated by load_LD_matrix.
- skip_region
A character vector specifying regions to be skipped in the analysis (optional). Each region should be in the format "chrom:start-end" (e.g., "1:1000000-2000000").