Last updated: 2025-05-29

Checks: 7 0

Knit directory: multigroup_ctwas_analysis/

This reproducible R Markdown analysis was created with workflowr (version 1.7.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(20231112) 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 results in this page were generated with repository version b57e0d3. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

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:


working directory clean

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 repository in which changes were made to the R Markdown (analysis/simulation_five_correlated_brain_tissues_three_omics.Rmd) and HTML (docs/simulation_five_correlated_brain_tissues_three_omics.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 1cec535 XSun 2025-05-29 update
html 1cec535 XSun 2025-05-29 update
Rmd f9f9b9b sq-96 2025-05-29 update
html f9f9b9b sq-96 2025-05-29 update
html f86ec5d sq-96 2025-05-29 updtae
Rmd e95e36b sq-96 2025-05-28 update
Rmd d5eb349 sq-96 2025-05-28 update
html f238456 sq-96 2025-05-26 update
Rmd e53275f sq-96 2025-05-26 update
Rmd 17f15a7 sq-96 2025-05-26 update

Simulation Parameters

pve_gene <- c(0.02, 0.02, 0, 0, 0, 0.01, 0.01, 0, 0, 0, 0.003, 0.003, 0, 0, 0)
group_size <- c(8798,8772,8478,8596,8542, 22802, 19188, 17467, 17104, 22142, 3561, 2935, 2578, 2659, 3142)
pve_snp <- 0.3
sigma_theta <- 0.02
sigma_beta <- 0.02
gene_prior <- c(0.008963896, 0.008990464, 0, 0, 0, 0.001729330, 0.002055044, 0, 0, 0, 0.003322003, 0.004030546, 0, 0, 0)
snp_prior <- 0.0002365931

shared_all, ctwas null weight

Prior

Version Author Date
f238456 sq-96 2025-05-26

Enrichment

Warning: Removed 13 rows containing missing values or values outside the scale range
(`geom_point()`).

Version Author Date
f238456 sq-96 2025-05-26

PVE

Version Author Date
f238456 sq-96 2025-05-26

PHE

Version Author Date
f238456 sq-96 2025-05-26

Inflated single group PHE

Warning: Removed 1 row containing missing values or values outside the scale range
(`geom_point()`).

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f238456 sq-96 2025-05-26

Molecular level PIP

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f238456 sq-96 2025-05-26

Gene level PIP

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f86ec5d sq-96 2025-05-29
f238456 sq-96 2025-05-26

Multi-cTWAS increases power of identifying causal molecular traits

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f86ec5d sq-96 2025-05-29
f238456 sq-96 2025-05-26

Multi-cTWAS increases power of identifying causal genes

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f86ec5d sq-96 2025-05-29

Multi-cTWAS reduces false positive rate on molecular level

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29
f86ec5d sq-96 2025-05-29

Multi-cTWAS reduces false positive rate on gene level

Version Author Date
1cec535 XSun 2025-05-29
f9f9b9b sq-96 2025-05-29

sessionInfo()
R version 4.2.0 (2022-04-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)

Matrix products: default
BLAS/LAPACK: /software/openblas-0.3.13-el7-x86_64/lib/libopenblas_haswellp-r0.3.13.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] plyr_1.8.7        plotrix_3.8-2     cowplot_1.1.3     gridExtra_2.3    
 [5] ggpubr_0.6.0      ggbreak_0.1.2     data.table_1.16.0 ggplot2_3.5.1    
 [9] dplyr_1.1.4       tidyr_1.3.1       ctwas_0.5.20      workflowr_1.7.0  

loaded via a namespace (and not attached):
  [1] backports_1.4.1             BiocFileCache_2.6.1        
  [3] repr_1.1.4                  lazyeval_0.2.2             
  [5] BiocParallel_1.32.6         GenomeInfoDb_1.34.9        
  [7] LDlinkR_1.4.0               digest_0.6.37              
  [9] yulab.utils_0.1.7           ensembldb_2.22.0           
 [11] htmltools_0.5.8.1           fansi_1.0.6                
 [13] magrittr_2.0.3              memoise_2.0.1              
 [15] tzdb_0.4.0                  Biostrings_2.66.0          
 [17] readr_2.1.5                 AMR_2.1.1                  
 [19] matrixStats_1.4.1           locuszoomr_0.3.5           
 [21] prettyunits_1.2.0           colorspace_2.1-1           
 [23] skimr_2.1.4                 blob_1.2.4                 
 [25] rappdirs_0.3.3              ggrepel_0.9.6              
 [27] xfun_0.47                   callr_3.7.2                
 [29] crayon_1.5.3                RCurl_1.98-1.16            
 [31] jsonlite_1.8.9              zoo_1.8-12                 
 [33] glue_1.7.0                  gtable_0.3.5               
 [35] zlibbioc_1.44.0             XVector_0.38.0             
 [37] DelayedArray_0.24.0         car_3.1-1                  
 [39] BiocGenerics_0.44.0         abind_1.4-5                
 [41] scales_1.3.0                DBI_1.2.3                  
 [43] rstatix_0.7.2               Rcpp_1.0.13                
 [45] viridisLite_0.4.2           progress_1.2.3             
 [47] gridGraphics_0.5-1          bit_4.5.0                  
 [49] stats4_4.2.0                htmlwidgets_1.6.4          
 [51] httr_1.4.7                  pkgconfig_2.0.3            
 [53] XML_3.99-0.14               farver_2.1.2               
 [55] sass_0.4.9                  dbplyr_2.5.0               
 [57] utf8_1.2.4                  labeling_0.4.3             
 [59] ggplotify_0.1.2             tidyselect_1.2.1           
 [61] rlang_1.1.4                 later_1.3.2                
 [63] AnnotationDbi_1.60.2        munsell_0.5.1              
 [65] pgenlibr_0.3.7              tools_4.2.0                
 [67] cachem_1.1.0                cli_3.6.3                  
 [69] generics_0.1.3              RSQLite_2.3.7              
 [71] broom_1.0.5                 evaluate_1.0.0             
 [73] stringr_1.5.1               fastmap_1.2.0              
 [75] yaml_2.3.10                 processx_3.7.0             
 [77] knitr_1.48                  bit64_4.5.2                
 [79] fs_1.6.4                    purrr_1.0.2                
 [81] KEGGREST_1.38.0             AnnotationFilter_1.22.0    
 [83] whisker_0.4                 aplot_0.2.3                
 [85] xml2_1.3.3                  biomaRt_2.54.1             
 [87] compiler_4.2.0              rstudioapi_0.14            
 [89] plotly_4.10.4               filelock_1.0.3             
 [91] curl_5.2.3                  png_0.1-7                  
 [93] ggsignif_0.6.3              tibble_3.2.1               
 [95] bslib_0.8.0                 stringi_1.8.4              
 [97] highr_0.11                  ps_1.7.1                   
 [99] GenomicFeatures_1.50.4      lattice_0.20-45            
[101] ProtGenerics_1.30.0         Matrix_1.5-3               
[103] vctrs_0.6.5                 pillar_1.9.0               
[105] lifecycle_1.0.4             jquerylib_0.1.4            
[107] bitops_1.0-8                irlba_2.3.5.1              
[109] httpuv_1.6.5                patchwork_1.3.0            
[111] rtracklayer_1.58.0          GenomicRanges_1.50.2       
[113] R6_2.5.1                    BiocIO_1.8.0               
[115] promises_1.3.0              IRanges_2.32.0             
[117] codetools_0.2-18            SummarizedExperiment_1.28.0
[119] rprojroot_2.0.3             rjson_0.2.23               
[121] withr_3.0.1                 GenomicAlignments_1.34.1   
[123] Rsamtools_2.14.0            S4Vectors_0.36.2           
[125] GenomeInfoDbData_1.2.9      parallel_4.2.0             
[127] hms_1.1.3                   grid_4.2.0                 
[129] ggfun_0.1.6                 gggrid_0.2-0               
[131] rmarkdown_2.28              carData_3.0-5              
[133] MatrixGenerics_1.10.0       logging_0.10-108           
[135] git2r_0.30.1                mixsqp_0.3-54              
[137] getPass_0.2-2               Biobase_2.58.0             
[139] base64enc_0.1-3             restfulr_0.0.15