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 f5fd9cd Xiang Zhu 2018-10-05 Build site.
Rmd 782d641 Xiang Zhu 2018-10-05 wflow_publish(“analysis/ldl2010_path1698.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
MTTP 4 100485240 100545154 0.1415537 0.9923219 Inf none
LIPC 15 58724175 58861073 0.0163921 0.9589340 Inf none
APOA2 1 161192083 161193418 0.0033433 0.5842822 51373777 rs629301
P4HB 17 79801034 79818544 0.0000308 0.0081494 34409230 rs7225700
SAR1B 5 133936839 133968533 0.0027561 0.4542058 22421764 rs6882076
LPL 8 19796582 19824770 0.0066880 0.7603627 10611436 rs2126259
HSPG2 1 22148737 22263750 0.0052681 0.6798969 3511983 rs12027135
SDC1 2 20400558 20425194 0.0231079 0.9153864 838706 rs1367117
LDLRAP1 1 25870076 25895377 0.0419188 0.8828886 94343 rs12027135
APOA1 11 116706469 116708338 0.7034787 0.9995003 57552 rs964184
APOC3 11 116700624 116703787 0.9998878 1.0000000 51707 rs964184
APOA4 11 116691418 116694011 0.9998877 1.0000000 42501 rs964184
APOC2 19 45449239 45452822 1.0000000 1.0000000 26293 rs4420638
APOA5 11 116660086 116663136 1.0000000 1.0000000 11169 rs964184
APOE 19 45409039 45412650 1.0000000 1.0000000 10296 rs4420638
APOB 2 21224301 21266945 1.0000000 1.0000000 0 rs1367117
LDLR 19 11200038 11244506 1.0000000 1.0000000 0 rs6511720


─ 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        
 AnnotationDbi   1.42.1    2018-05-08 [1] Bioconductor  
 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)
 Biobase         2.40.0    2018-05-01 [1] Bioconductor  
 BiocGenerics    0.26.0    2018-05-01 [1] Bioconductor  
 biomaRt       * 2.36.1    2018-05-24 [1] Bioconductor  
 bit             1.1-14    2018-05-29 [1] CRAN (R 3.5.0)
 bit64           0.9-7     2017-05-08 [1] CRAN (R 3.5.0)
 bitops          1.0-6     2013-08-17 [1] CRAN (R 3.5.0)
 blob            1.1.1     2018-03-25 [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)
 curl            3.3       2019-01-10 [1] CRAN (R 3.5.2)
 DBI             1.0.0     2018-05-02 [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)
 IRanges         2.14.10   2018-05-16 [1] Bioconductor  
 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)
 progress        1.2.0     2018-06-14 [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)
 RCurl           1.95-4.11 2018-07-15 [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)
 RSQLite         2.1.1     2018-05-06 [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)
 S4Vectors       0.18.3    2018-06-08 [1] Bioconductor  
 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)
 XML             3.98-1.17 2019-02-08 [1] CRAN (R 3.5.2)
 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