View source: R/harmonization.R
harmonize_sumstats_LD | R Documentation |
Harmonize GWAS summary statistics with LD reference
harmonize_sumstats_LD(
sumstats,
LD_snp_info,
strand_flip = TRUE,
remove_strand_ambig = TRUE
)
sumstats |
A data frame of GWAS summary statistics, including columns "snp" (SNP ID), a0" (reference allele), "a1" (effect allele), "beta", and "zscore". |
LD_snp_info |
a data frame, SNP info for LD reference, with columns "chrom", "id", "pos", "alt", "ref", "locus" (optional) |
strand_flip |
Whether to flip signs when reverse complement matches? (default is TRUE). |
remove_strand_ambig |
Whether to remove ambiguous alleles (A/T and C/G)? (default is TRUE). |
a data frame of harmonized GWAS summary statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.