plot_peak_ld: Plot LD values for significant SNPs in a mapping

Description Usage Arguments Value Examples

Description

plot_peak_ld generates a plot to visualize LD (r) for significant SNPs in a mapping

Usage

1
plot_peak_ld(plot_df, trait = NULL)

Arguments

plot_df

is the output from the process_mappings function.

trait

is a string object corresponding to a trait of interest if plot_df has multiple traits in it.

Value

returns an LDHeatmap object of SNPs that are above the Bonferroni corrected p-value

Examples

1
2
 plot_peak_ld(processed_mapping_df) # for a one trait mapping data frame
plot_peak_ld(plot_df = all_maps, trait = "amsacrine_f.l1") # for a multiple trait mapping data frame

AndersenLab/cegwas documentation built on March 6, 2020, 1:10 a.m.