View source: R/coloc_eQTL_tidying.R
tidy_eQTL_psychencode | R Documentation |
Tidy psychencode eQTLs for use with coloc.
tidy_eQTL_psychencode(psychencode_QTLs, psychencode_SNP_info, add_colnames = T)
psychencode_QTLs |
df. Full set of cis-eQTLs with no p-value or FDR filtering as downloaded from http://resource.psychencode.org/. |
psychencode_SNP_info |
df. SNP information for all QTLs considered, including rsIDs (if available), location, and reference and alternate alleles, as downloaded from http://resource.psychencode.org/. |
add_colnames |
logical. Should columne names be added to the file? Default is TRUE i.e. assumes user has not derived column names for full summary statistic from another psychencode-derived file. |
Tidy dataframe with psychencode eQTLs. Note that the dataframe
includes an additional column (SNP_rs). This is necessary for MAF lookup,
but should be removed prior to submitting to
colochelpR::get_coloc_results()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.