Last updated: 2022-04-27

Checks: 5 2

Knit directory: cTWAS_analysis/

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


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

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(20211220) 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.

Using absolute paths to the files within your workflowr project makes it difficult for you and others to run your code on a different machine. Change the absolute path(s) below to the suggested relative path(s) to make your code more reproducible.

absolute relative
/project2/xinhe/shengqian/cTWAS/cTWAS_analysis/data/SCZ/ data/SCZ
/project2/xinhe/shengqian/cTWAS/cTWAS_analysis/data/SCZ_2014_EUR/ data/SCZ_2014_EUR
/project2/xinhe/shengqian/cTWAS/cTWAS_analysis/data/SCZ_2018/ data/SCZ_2018
/project2/xinhe/shengqian/cTWAS/cTWAS_analysis/data/SCZ_2020/ data/SCZ_2020

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 f0e60fd. 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:


Ignored files:
    Ignored:    .ipynb_checkpoints/
    Ignored:    data/AF/

Untracked files:
    Untracked:  Rplot.png
    Untracked:  analysis/.ipynb_checkpoints/
    Untracked:  code/.ipynb_checkpoints/
    Untracked:  code/AF_out/
    Untracked:  code/Autism_out/
    Untracked:  code/BMI_S_out/
    Untracked:  code/BMI_out/
    Untracked:  code/Glucose_out/
    Untracked:  code/LDL_S_out/
    Untracked:  code/SCZ_2014_EUR_out/
    Untracked:  code/SCZ_2018_out/
    Untracked:  code/SCZ_2020_Single_out/
    Untracked:  code/SCZ_2020_out/
    Untracked:  code/SCZ_S_out/
    Untracked:  code/SCZ_out/
    Untracked:  code/T2D_out/
    Untracked:  code/ctwas_config.R
    Untracked:  code/mapping.R
    Untracked:  code/out/
    Untracked:  code/process_scz_2018_snps.R
    Untracked:  code/run_AF_analysis.sbatch
    Untracked:  code/run_AF_analysis.sh
    Untracked:  code/run_AF_ctwas_rss_LDR.R
    Untracked:  code/run_Autism_analysis.sbatch
    Untracked:  code/run_Autism_analysis.sh
    Untracked:  code/run_Autism_ctwas_rss_LDR.R
    Untracked:  code/run_BMI_analysis.sbatch
    Untracked:  code/run_BMI_analysis.sh
    Untracked:  code/run_BMI_analysis_S.sbatch
    Untracked:  code/run_BMI_analysis_S.sh
    Untracked:  code/run_BMI_ctwas_rss_LDR.R
    Untracked:  code/run_BMI_ctwas_rss_LDR_S.R
    Untracked:  code/run_Glucose_analysis.sbatch
    Untracked:  code/run_Glucose_analysis.sh
    Untracked:  code/run_Glucose_ctwas_rss_LDR.R
    Untracked:  code/run_LDL_analysis_S.sbatch
    Untracked:  code/run_LDL_analysis_S.sh
    Untracked:  code/run_LDL_ctwas_rss_LDR_S.R
    Untracked:  code/run_SCZ_2014_EUR_analysis.sbatch
    Untracked:  code/run_SCZ_2014_EUR_analysis.sh
    Untracked:  code/run_SCZ_2014_EUR_ctwas_rss_LDR.R
    Untracked:  code/run_SCZ_2018_analysis.sbatch
    Untracked:  code/run_SCZ_2018_analysis.sh
    Untracked:  code/run_SCZ_2018_ctwas_rss_LDR.R
    Untracked:  code/run_SCZ_2020_Single_analysis.sbatch
    Untracked:  code/run_SCZ_2020_Single_analysis.sh
    Untracked:  code/run_SCZ_2020_Single_ctwas_rss_LDR.R
    Untracked:  code/run_SCZ_2020_analysis.sbatch
    Untracked:  code/run_SCZ_2020_analysis.sh
    Untracked:  code/run_SCZ_2020_ctwas_rss_LDR.R
    Untracked:  code/run_SCZ_analysis.sbatch
    Untracked:  code/run_SCZ_analysis.sh
    Untracked:  code/run_SCZ_analysis_S.sbatch
    Untracked:  code/run_SCZ_analysis_S.sh
    Untracked:  code/run_SCZ_ctwas_rss_LDR.R
    Untracked:  code/run_SCZ_ctwas_rss_LDR_S.R
    Untracked:  code/run_T2D_analysis.sbatch
    Untracked:  code/run_T2D_analysis.sh
    Untracked:  code/run_T2D_ctwas_rss_LDR.R
    Untracked:  code/wflow_build.R
    Untracked:  code/wflow_build.sbatch
    Untracked:  data/.ipynb_checkpoints/
    Untracked:  data/BMI/
    Untracked:  data/GO_Terms/
    Untracked:  data/PGC3_SCZ_wave3_public.v2.tsv
    Untracked:  data/SCZ/
    Untracked:  data/SCZ_2014_EUR/
    Untracked:  data/SCZ_2018/
    Untracked:  data/SCZ_2020/
    Untracked:  data/SCZ_2020_Single/
    Untracked:  data/SCZ_S/
    Untracked:  data/Supplementary Table 15 - MAGMA.xlsx
    Untracked:  data/Supplementary Table 20 - Prioritised Genes.xlsx
    Untracked:  data/T2D/
    Untracked:  data/UKBB/
    Untracked:  data/UKBB_SNPs_Info.text
    Untracked:  data/gene_OMIM.txt
    Untracked:  data/gene_pip_0.8.txt
    Untracked:  data/mashr_Heart_Atrial_Appendage.db
    Untracked:  data/mashr_sqtl/
    Untracked:  data/scz_2018.RDS
    Untracked:  data/summary_known_genes_annotations.xlsx
    Untracked:  data/untitled.txt
    Untracked:  top_genes_32.txt
    Untracked:  top_genes_37.txt
    Untracked:  top_genes_43.txt
    Untracked:  top_genes_81.txt

Unstaged changes:
    Modified:   analysis/SCZ_Annotation_Analysis.Rmd

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/SCZ_Annotation_Analysis.Rmd) and HTML (docs/SCZ_Annotation_Analysis.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 f0e60fd sq-96 2022-04-26 update
html f0e60fd sq-96 2022-04-26 update
Rmd 18a607c sq-96 2022-04-23 update
html 18a607c sq-96 2022-04-23 update
Rmd e9c06cf sq-96 2022-04-23 update
html e9c06cf sq-96 2022-04-23 update
Rmd f9d573e sq-96 2022-04-23 update
html f9d573e sq-96 2022-04-23 update
Rmd 3526ce6 sq-96 2022-04-23 update
html 3526ce6 sq-96 2022-04-23 update
Rmd fdb83b6 sq-96 2022-04-23 update
html fdb83b6 sq-96 2022-04-23 update
Rmd 574cbff sq-96 2022-04-20 update
html 574cbff sq-96 2022-04-20 update
Rmd 186d0ac sq-96 2022-04-20 update
html 186d0ac sq-96 2022-04-20 update
Rmd 6336dc6 sq-96 2022-04-19 update
Rmd ba919ab sq-96 2022-04-18 update
html ba919ab sq-96 2022-04-18 update
Rmd 0552ba2 sq-96 2022-04-18 update
html 0552ba2 sq-96 2022-04-18 update
Rmd 9ddc9c4 sq-96 2022-04-18 update
Rmd f6e7062 sq-96 2022-04-17 update

2014 SCZ GWAS

[1] "# genes in axon: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in ion_channel_complex: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in nervous_system_development: 1 (P-value: 0.982, Odds Ratio: 0.239)"
[1] "# genes in neuronal_cell_body: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in regulation_of_cation_channel_activity: 1 (P-value: 0.173, Odds Ratio: 6.391)"
[1] "# genes in regulation_of_neuron_differentiation: 2 (P-value: 0.043, Odds Ratio: 7.303)"
[1] "# genes in somatodendritic_compartment: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in synapse: 1 (P-value: 0.925, Odds Ratio: 0.382)"
[1] "# genes in voltage-gated_calcium_channel_activity: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in SCHEMA_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in ASD_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in DDD_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in PGC3_genes: 6 (P-value: 0, Odds Ratio: 75.039)"
[1] "# genes in PGC3_genes_without_SMR: 0 (P-value: 1, Odds Ratio: 0)"

2014 SCZ EUR ONLY GWAS

[1] "# genes in axon: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in ion_channel_complex: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in nervous_system_development: 2 (P-value: 0.885, Odds Ratio: 0.532)"
[1] "# genes in neuronal_cell_body: 2 (P-value: 0.291, Odds Ratio: 1.982)"
[1] "# genes in regulation_of_cation_channel_activity: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in regulation_of_neuron_differentiation: 2 (P-value: 0.086, Odds Ratio: 4.69)"
[1] "# genes in somatodendritic_compartment: 2 (P-value: 0.423, Odds Ratio: 1.446)"
[1] "# genes in synapse: 1 (P-value: 0.89, Odds Ratio: 0.451)"
[1] "# genes in voltage-gated_calcium_channel_activity: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in SCHEMA_genes: 1 (P-value: 0.135, Odds Ratio: 9.176)"
[1] "# genes in ASD_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in DDD_genes: 1 (P-value: 0.422, Odds Ratio: 1.955)"
[1] "# genes in PGC3_genes: 5 (P-value: 0, Odds Ratio: 25.562)"
[1] "# genes in PGC3_genes_without_SMR: 0 (P-value: 1, Odds Ratio: 0)"

2018 SCZ GWAS

[1] "# genes in axon: 1 (P-value: 0.71, Odds Ratio: 0.827)"
[1] "# genes in ion_channel_complex: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in nervous_system_development: 3 (P-value: 0.856, Odds Ratio: 0.62)"
[1] "# genes in neuronal_cell_body: 2 (P-value: 0.323, Odds Ratio: 1.826)"
[1] "# genes in regulation_of_cation_channel_activity: 2 (P-value: 0.124, Odds Ratio: 3.695)"
[1] "# genes in regulation_of_neuron_differentiation: 1 (P-value: 0.224, Odds Ratio: 4.724)"
[1] "# genes in somatodendritic_compartment: 2 (P-value: 0.499, Odds Ratio: 1.235)"
[1] "# genes in synapse: 4 (P-value: 0.17, Odds Ratio: 1.989)"
[1] "# genes in voltage-gated_calcium_channel_activity: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in SCHEMA_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in ASD_genes: 0 (P-value: 1, Odds Ratio: 0)"
[1] "# genes in DDD_genes: 1 (P-value: 0.345, Odds Ratio: 2.618)"
[1] "# genes in PGC3_genes: 6 (P-value: 0, Odds Ratio: 31.867)"
[1] "# genes in PGC3_genes_without_SMR: 1 (P-value: 0.155, Odds Ratio: 7.874)"

2020 SCZ GWAS

[1] "# genes in axon: 5 (P-value: 0.059, Odds Ratio: 2.672)"
[1] "# genes in ion_channel_complex: 4 (P-value: 0.021, Odds Ratio: 4.658)"
[1] "# genes in nervous_system_development: 11 (P-value: 0.191, Odds Ratio: 1.43)"
[1] "# genes in neuronal_cell_body: 3 (P-value: 0.266, Odds Ratio: 1.792)"
[1] "# genes in regulation_of_cation_channel_activity: 3 (P-value: 0.054, Odds Ratio: 4.225)"
[1] "# genes in regulation_of_neuron_differentiation: 3 (P-value: 0.011, Odds Ratio: 9.532)"
[1] "# genes in somatodendritic_compartment: 5 (P-value: 0.174, Odds Ratio: 1.813)"
[1] "# genes in synapse: 8 (P-value: 0.047, Odds Ratio: 2.22)"
[1] "# genes in voltage-gated_calcium_channel_activity: 2 (P-value: 0.006, Odds Ratio: Inf)"
[1] "# genes in SCHEMA_genes: 2 (P-value: 0.068, Odds Ratio: 6.282)"
[1] "# genes in ASD_genes: 1 (P-value: 0.421, Odds Ratio: 2.069)"
[1] "# genes in DDD_genes: 3 (P-value: 0.067, Odds Ratio: 3.799)"
[1] "# genes in PGC3_genes: 7 (P-value: 0, Odds Ratio: 23.363)"
[1] "# genes in PGC3_genes_without_SMR: 2 (P-value: 0.006, Odds Ratio: Inf)"

sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Scientific Linux 7.4 (Nitrogen)

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] readxl_1.3.1    reactable_0.2.3 workflowr_1.6.2

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.7        cellranger_1.1.0  pillar_1.6.1      compiler_4.1.0   
 [5] bslib_0.2.5.1     later_1.2.0       jquerylib_0.1.4   git2r_0.28.0     
 [9] highr_0.9         tools_4.1.0       digest_0.6.27     jsonlite_1.7.2   
[13] evaluate_0.14     lifecycle_1.0.0   tibble_3.1.2      pkgconfig_2.0.3  
[17] rlang_0.4.11      crosstalk_1.1.1   yaml_2.2.1        xfun_0.24        
[21] reactR_0.4.4      stringr_1.4.0     knitr_1.33        fs_1.5.0         
[25] vctrs_0.3.8       sass_0.4.0        htmlwidgets_1.5.3 rprojroot_2.0.2  
[29] data.table_1.14.0 glue_1.4.2        R6_2.5.0          fansi_0.5.0      
[33] rmarkdown_2.9     magrittr_2.0.1    whisker_0.4       promises_1.2.0.1 
[37] ellipsis_0.3.2    htmltools_0.5.1.1 httpuv_1.6.1      utf8_1.2.1       
[41] stringi_1.6.2     crayon_1.4.1