Last updated: 2019-11-07

Checks: 7 0

Knit directory: rss-peca/

This reproducible R Markdown analysis was created with workflowr (version 1.5.0). The Checks 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(20180719) 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 job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

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 3d6c4db xiangzhu 2019-09-30 Build site.
Rmd 7af240c xiangzhu 2019-09-30 wflow_publish(“analysis/hdl2010_gene.Rmd”)

Table legends

Prioritization results of network genes are summarized as two tables, one for network transcription factors (TFs) and the other for network target genes (TGs).

  • P1: posterior probability that at least one SNP within 100 kb of the transcribed region of a given network gene (specified by Gene, 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 network gene and its nearest GWAS hit;

  • Nearest hit: the nearest GWAS hit to a given network gene, reported in the corresponding GWAS publication. The “none” values in this column indicate that there is no published GWAS hit on the same chromosome as the network gene.

Note that Baseline P1 and Enrichment P1 are obtained from fitting RSS-NET baseline and enrichment models respectively. Differences between Baseline P1 and Enrichment P1 reflect the influence of network enrichment on genetic associations, which can help identify putatively new trait-associated genes.

TODO: explain Near-gene P1.

Results of TFs

Results of TGs


─ Session info ──────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.6.1 (2019-07-05)
 os       Ubuntu 18.04.3 LTS          
 system   x86_64, linux-gnu           
 ui       X11                         
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/Los_Angeles         
 date     2019-11-07                  

─ Packages ──────────────────────────────────────────────────────────────
 package       * version   date       lib source        
 AnnotationDbi   1.46.0    2019-05-02 [1] Bioconductor  
 assertthat      0.2.1     2019-03-21 [1] CRAN (R 3.6.0)
 backports       1.1.5     2019-10-02 [1] CRAN (R 3.6.1)
 Biobase         2.44.0    2019-05-02 [1] Bioconductor  
 BiocGenerics    0.30.0    2019-05-02 [1] Bioconductor  
 biomaRt       * 2.40.3    2019-07-17 [1] Bioconductor  
 bit             1.1-14    2018-05-29 [1] CRAN (R 3.6.1)
 bit64           0.9-7     2017-05-08 [1] CRAN (R 3.6.1)
 bitops          1.0-6     2013-08-17 [1] CRAN (R 3.6.1)
 blob            1.2.0     2019-07-09 [1] CRAN (R 3.6.1)
 callr           3.3.2     2019-09-22 [1] CRAN (R 3.6.1)
 cli             1.1.0     2019-03-19 [1] CRAN (R 3.6.0)
 crayon          1.3.4     2017-09-16 [1] CRAN (R 3.6.0)
 crosstalk       1.0.0     2016-12-21 [1] CRAN (R 3.6.0)
 curl            4.2       2019-09-24 [1] CRAN (R 3.6.1)
 DBI             1.0.0     2018-05-02 [1] CRAN (R 3.6.1)
 desc            1.2.0     2018-05-01 [1] CRAN (R 3.6.0)
 devtools        2.2.1     2019-09-24 [1] CRAN (R 3.6.1)
 digest          0.6.22    2019-10-21 [1] CRAN (R 3.6.1)
 dplyr         * 0.8.3     2019-07-04 [1] CRAN (R 3.6.1)
 DT            * 0.9       2019-09-17 [1] CRAN (R 3.6.1)
 ellipsis        0.3.0     2019-09-20 [1] CRAN (R 3.6.1)
 evaluate        0.14      2019-05-28 [1] CRAN (R 3.6.0)
 fastmap         1.0.1     2019-10-08 [1] CRAN (R 3.6.1)
 fs              1.3.1     2019-05-06 [1] CRAN (R 3.6.0)
 git2r           0.26.1    2019-06-29 [1] CRAN (R 3.6.0)
 glue            1.3.1     2019-03-12 [1] CRAN (R 3.6.0)
 hms             0.5.2     2019-10-30 [1] CRAN (R 3.6.1)
 htmltools       0.4.0     2019-10-04 [1] CRAN (R 3.6.1)
 htmlwidgets     1.5.1     2019-10-08 [1] CRAN (R 3.6.1)
 httpuv          1.5.2     2019-09-11 [1] CRAN (R 3.6.1)
 httr            1.4.1     2019-08-05 [1] CRAN (R 3.6.1)
 IRanges         2.18.1    2019-05-31 [1] Bioconductor  
 jsonlite        1.6       2018-12-07 [1] CRAN (R 3.6.0)
 knitr           1.25      2019-09-18 [1] CRAN (R 3.6.1)
 later           1.0.0     2019-10-04 [1] CRAN (R 3.6.1)
 magrittr        1.5       2014-11-22 [1] CRAN (R 3.6.0)
 memoise         1.1.0     2017-04-21 [1] CRAN (R 3.6.0)
 mime            0.7       2019-06-11 [1] CRAN (R 3.6.0)
 pillar          1.4.2     2019-06-29 [1] CRAN (R 3.6.0)
 pkgbuild        1.0.6     2019-10-09 [1] CRAN (R 3.6.1)
 pkgconfig       2.0.3     2019-09-22 [1] CRAN (R 3.6.1)
 pkgload         1.0.2     2018-10-29 [1] CRAN (R 3.6.0)
 prettyunits     1.0.2     2015-07-13 [1] CRAN (R 3.6.0)
 processx        3.4.1     2019-07-18 [1] CRAN (R 3.6.1)
 progress        1.2.2     2019-05-16 [1] CRAN (R 3.6.0)
 promises        1.1.0     2019-10-04 [1] CRAN (R 3.6.1)
 ps              1.3.0     2018-12-21 [1] CRAN (R 3.6.0)
 purrr           0.3.3     2019-10-18 [1] CRAN (R 3.6.1)
 R6              2.4.0     2019-02-14 [1] CRAN (R 3.6.0)
 Rcpp            1.0.2     2019-07-25 [1] CRAN (R 3.6.1)
 RCurl           1.95-4.12 2019-03-04 [1] CRAN (R 3.6.1)
 remotes         2.1.0     2019-06-24 [1] CRAN (R 3.6.0)
 rlang           0.4.1     2019-10-24 [1] CRAN (R 3.6.1)
 rmarkdown       1.16      2019-10-01 [1] CRAN (R 3.6.1)
 rprojroot       1.3-2     2018-01-03 [1] CRAN (R 3.6.0)
 RSQLite         2.1.2     2019-07-24 [1] CRAN (R 3.6.1)
 S4Vectors       0.22.0    2019-05-02 [1] Bioconductor  
 sessioninfo     1.1.1     2018-11-05 [1] CRAN (R 3.6.0)
 shiny           1.4.0     2019-10-10 [1] CRAN (R 3.6.1)
 stringi         1.4.3     2019-03-12 [1] CRAN (R 3.6.0)
 stringr         1.4.0     2019-02-10 [1] CRAN (R 3.6.0)
 testthat        2.3.0     2019-11-05 [1] CRAN (R 3.6.1)
 tibble          2.1.3     2019-06-06 [1] CRAN (R 3.6.0)
 tidyselect      0.2.5     2018-10-11 [1] CRAN (R 3.6.0)
 usethis         1.5.1     2019-07-04 [1] CRAN (R 3.6.1)
 vctrs           0.2.0     2019-07-05 [1] CRAN (R 3.6.1)
 whisker         0.4       2019-08-28 [1] CRAN (R 3.6.1)
 withr           2.1.2     2018-03-15 [1] CRAN (R 3.6.0)
 workflowr       1.5.0     2019-11-01 [1] CRAN (R 3.6.1)
 xfun            0.10      2019-10-01 [1] CRAN (R 3.6.1)
 XML             3.98-1.20 2019-06-06 [1] CRAN (R 3.6.1)
 xtable          1.8-4     2019-04-21 [1] CRAN (R 3.6.0)
 yaml            2.2.0     2018-07-25 [1] CRAN (R 3.6.0)
 zeallot         0.1.0     2018-01-28 [1] CRAN (R 3.6.0)

[1] /home/maimaizhu/R/x86_64-pc-linux-gnu-library/3.6
[2] /usr/local/lib/R/site-library
[3] /usr/lib/R/site-library
[4] /usr/lib/R/library