Last updated: 2019-02-18

Checks: 6 0

Knit directory: rss-gsea/

This reproducible R Markdown analysis was created with workflowr (version 1.2.0). The Report tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20180626) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility. The version displayed above was the version of the Git repository at the time these results were generated.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the R Markdown and HTML files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view them.

File Version Author Date Message
html 654b58d Xiang Zhu 2018-10-06 Build site.
Rmd e612ac6 Xiang Zhu 2018-10-06 wflow_publish(“analysis/ra2014_path2858.Rmd”)

Table legends

Prioritization results are summarized by the following table.

  • P1: posterior probability that at least one SNP within 100 kb of the transcribed region of a given pathway gene (defined by Chr., Start and End columns) has non-zero effect on the trait of interest;

  • H-distance: the physical distance, in base pair, between a given pathway gene and its nearest GWAS hit;

  • Nearest hit: the nearest GWAS hit to a given pathway gene, reported in the corresponding GWAS publication.

The “Inf” values in column H-distance indicate that there is no GWAS hit on the same chromosome as the pathway gene.

Differences between Baseline P1 and Enrichment P1 reflect the influence of enrichment on genetic associations, which can help identify putatively trait-associated genes.

Analysis results

Gene Chr. Start End Baseline P1 Enrichment P1 H-distance Nearest hit
CASP3 4 185548850 185570629 0.0410473 0.3426184 62149359 rs45475795
CALM3 19 47104512 47114039 0.0238403 0.2599032 36332571 chr19:10771941
CBLB 3 105377109 105587887 0.0996482 0.6010868 30814173 rs9826828
GBP3 1 89472360 89488549 0.0666986 0.3600171 24889019 rs2476601
IKZF1 7 50344378 50472799 0.3269607 0.9120020 22169392 rs67250450
JUN 1 59246463 59249785 0.0158713 0.1871712 20612584 rs12140275
NFATC3 16 68119269 68263162 0.0267481 0.2565569 17755925 rs13330176
CALM1 14 90863327 90874619 0.0245160 0.2633888 14518218 rs2582532
BATF3 1 212859759 212873327 0.0555358 0.4484060 14219271 rs17668708
CALM2 2 47387221 47403740 0.0596491 0.4168546 13721110 rs34695944
E2F1 20 32263292 32274210 0.0061236 0.0766776 12475041 rs4239702
PTGS2 1 186640944 186649559 0.7361085 0.9798033 11990929 rs17668708
ITCH 20 32951062 33099197 0.0280377 0.3150238 11650054 rs4239702
EGR3 8 22545174 22550815 0.0218336 0.2482249 11203294 rs2736337
IFNG 12 68548550 68553521 0.0323326 0.3327044 10440498 rs1633360
NFATC1 18 77155772 77289323 0.0648569 0.5257250 9611726 rs2469434
PTPRK 6 128289924 128841870 0.0960472 0.6357498 9163645 rs17264332
EGR4 2 73518057 73520829 0.0092396 0.1141007 7919757 rs1858037
TBX21 17 45810610 45823485 0.0285532 0.2854522 7778753 chr17:38031857
FOS 14 75745481 75748937 0.0607553 0.5077550 6985340 rs1950897
MAF 16 79627745 79634622 0.0543748 0.4783299 6384465 rs13330176
EGR1 5 137801181 137805004 0.0118330 0.1432342 6371063 rs657075
POU2F1 1 167190066 167396582 0.5717731 0.9830715 5545808 chr1:161644258
NFATC2 20 50007765 50179168 0.0932253 0.6252816 5258514 rs4239702
CXCL8 4 74606223 74609433 0.0271892 0.2808819 4893539 rs10028001
PPARG 3 12329349 12475855 0.2820428 0.9781047 4571177 rs4452313
PTPN1 20 49126891 49201088 0.0382931 0.3567284 4377640 rs4239702
FOSL1 11 65659692 65667997 0.0215682 0.2420795 4064128 rs968567
JUNB 19 12902310 12904125 0.0203174 0.2148365 2130369 chr19:10771941
SLC3A2 11 62623484 62656355 0.0192871 0.2186758 1027920 rs968567
TNF 6 31543350 31546112 0.0000000 0.0000000 882660 rs9268839
FASLG 1 172628185 172636013 0.1598367 0.5288472 713712 rs2105325
IL4 5 132009373 132018368 0.0202753 0.2077011 579255 rs657075
EGR2 10 64571756 64578927 0.0653783 0.5181729 534875 rs6479800
IL5 5 131877136 131879214 0.0224986 0.2322052 447018 rs657075
PRKCQ 10 6469105 6557111 0.9998743 0.9999988 78655 rs947474
DGKA 12 56324946 56347807 0.0116905 0.9744830 47147 rs773125
CDK4 12 58142003 58146164 0.9936727 0.9656595 33951 rs1633360
IL3 5 131396347 131398896 0.0357833 0.3187039 31222 rs657075
IL2 4 123372625 123377650 0.0195263 0.8700974 21841 rs45475795
CSF2 5 131409485 131411859 0.0357269 0.3147562 18259 rs657075
IRF4 6 391739 411443 0.9904927 0.9996726 14712 rs9378815
CTLA4 2 204732511 204738683 1.0000000 1.0000000 236 rs3087243
GATA3 10 8096667 8117164 0.9999977 0.9999999 0 rs3824660
IL2RA 10 6052657 6104333 0.9999829 0.9999910 0 rs706778


─ Session info ──────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.2 (2018-12-20)
 os       macOS Mojave 10.14.3        
 system   x86_64, darwin15.6.0        
 ui       X11                         
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/Los_Angeles         
 date     2019-02-18                  

─ Packages ──────────────────────────────────────────────────────────────
 package     * version date       lib source        
 assertthat    0.2.0   2017-04-11 [1] CRAN (R 3.5.0)
 backports     1.1.3   2018-12-14 [1] CRAN (R 3.5.0)
 callr         3.1.1   2018-12-21 [1] CRAN (R 3.5.0)
 cli           1.0.1   2018-09-25 [1] CRAN (R 3.5.0)
 colorspace    1.4-0   2019-01-13 [1] CRAN (R 3.5.2)
 crayon        1.3.4   2017-09-16 [1] CRAN (R 3.5.0)
 desc          1.2.0   2018-05-01 [1] CRAN (R 3.5.0)
 devtools      2.0.1   2018-10-26 [1] CRAN (R 3.5.1)
 digest        0.6.18  2018-10-10 [1] CRAN (R 3.5.0)
 dplyr       * 0.8.0.1 2019-02-15 [1] CRAN (R 3.5.2)
 evaluate      0.13    2019-02-12 [1] CRAN (R 3.5.2)
 fs            1.2.6   2018-08-23 [1] CRAN (R 3.5.0)
 git2r         0.24.0  2019-01-07 [1] CRAN (R 3.5.2)
 glue          1.3.0   2018-07-17 [1] CRAN (R 3.5.0)
 highr         0.7     2018-06-09 [1] CRAN (R 3.5.0)
 hms           0.4.2   2018-03-10 [1] CRAN (R 3.5.0)
 htmltools     0.3.6   2017-04-28 [1] CRAN (R 3.5.0)
 httr          1.4.0   2018-12-11 [1] CRAN (R 3.5.0)
 kableExtra  * 1.0.1   2019-01-22 [1] CRAN (R 3.5.2)
 knitr         1.21    2018-12-10 [1] CRAN (R 3.5.2)
 magrittr      1.5     2014-11-22 [1] CRAN (R 3.5.0)
 memoise       1.1.0   2017-04-21 [1] CRAN (R 3.5.0)
 munsell       0.5.0   2018-06-12 [1] CRAN (R 3.5.0)
 pillar        1.3.1   2018-12-15 [1] CRAN (R 3.5.0)
 pkgbuild      1.0.2   2018-10-16 [1] CRAN (R 3.5.0)
 pkgconfig     2.0.2   2018-08-16 [1] CRAN (R 3.5.0)
 pkgload       1.0.2   2018-10-29 [1] CRAN (R 3.5.0)
 prettyunits   1.0.2   2015-07-13 [1] CRAN (R 3.5.0)
 processx      3.2.1   2018-12-05 [1] CRAN (R 3.5.0)
 ps            1.3.0   2018-12-21 [1] CRAN (R 3.5.0)
 purrr         0.3.0   2019-01-27 [1] CRAN (R 3.5.2)
 R.matlab    * 3.6.2   2018-09-27 [1] CRAN (R 3.5.0)
 R.methodsS3   1.7.1   2016-02-16 [1] CRAN (R 3.5.0)
 R.oo          1.22.0  2018-04-22 [1] CRAN (R 3.5.0)
 R.utils       2.8.0   2019-02-14 [1] CRAN (R 3.5.2)
 R6            2.4.0   2019-02-14 [1] CRAN (R 3.5.2)
 Rcpp          1.0.0   2018-11-07 [1] CRAN (R 3.5.0)
 readr         1.3.1   2018-12-21 [1] CRAN (R 3.5.0)
 remotes       2.0.2   2018-10-30 [1] CRAN (R 3.5.0)
 rlang         0.3.1   2019-01-08 [1] CRAN (R 3.5.2)
 rmarkdown     1.11    2018-12-08 [1] CRAN (R 3.5.0)
 rprojroot     1.3-2   2018-01-03 [1] CRAN (R 3.5.0)
 rstudioapi    0.9.0   2019-01-09 [1] CRAN (R 3.5.2)
 rvest         0.3.2   2016-06-17 [1] CRAN (R 3.5.0)
 scales        1.0.0   2018-08-09 [1] CRAN (R 3.5.0)
 sessioninfo   1.1.1   2018-11-05 [1] CRAN (R 3.5.0)
 stringi       1.3.1   2019-02-13 [1] CRAN (R 3.5.2)
 stringr       1.4.0   2019-02-10 [1] CRAN (R 3.5.2)
 testthat      2.0.1   2018-10-13 [1] CRAN (R 3.5.0)
 tibble        2.0.1   2019-01-12 [1] CRAN (R 3.5.2)
 tidyselect    0.2.5   2018-10-11 [1] CRAN (R 3.5.0)
 usethis       1.4.0   2018-08-14 [1] CRAN (R 3.5.0)
 viridisLite   0.3.0   2018-02-01 [1] CRAN (R 3.5.0)
 webshot       0.5.1   2018-09-28 [1] CRAN (R 3.5.0)
 whisker       0.3-2   2013-04-28 [1] CRAN (R 3.5.0)
 withr         2.1.2   2018-03-15 [1] CRAN (R 3.5.0)
 workflowr     1.2.0   2019-02-14 [1] CRAN (R 3.5.2)
 xfun          0.4     2018-10-23 [1] CRAN (R 3.5.0)
 xml2          1.2.0   2018-01-24 [1] CRAN (R 3.5.0)
 yaml          2.2.0   2018-07-25 [1] CRAN (R 3.5.0)

[1] /Library/Frameworks/R.framework/Versions/3.5/Resources/library