Description Usage Arguments Details Value
View source: R/process_mappings.R
process_mappings
takes gwas_mappings
output and calculates variance explained and
identifies peaks and associated confidence intervals
1 2 | process_mappings(mapping_df, phenotype_df, CI_size = 50, snp_grouping = 200,
BF = NA)
|
mapping_df |
Output from |
phenotype_df |
phenotype data frame generated by |
CI_size |
defines the size (in # SNPs) of confidence intervals. Default is 50 and is defined in more detail below. |
snp_grouping |
defines grouping of peaks. Defined further below, default is 200. |
BF |
defines a custom bonferroni correction. |
This function combines calculate_VE
, find_peaks
, and identify_CI
into one function when intermediate dataframes are not wanted
Outputs processed mapping dataframe that contains original mapping dataframe with appended information for significant SNPs only, including: variance explained, confidence interval information, genotype information
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.