-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.rmd
50 lines (38 loc) · 2.68 KB
/
README.rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
<!-- badges: start -->
[![DOI](https://zenodo.org/badge/375954357.svg)](https://zenodo.org/badge/latestdoi/375954357)
<!-- badges: end -->
# Background
This repository contains code to determine local and global genetic correlations between several neurodegenerative and neuropsychiatric disorders with LAVA and LDSC, respectively.
# Code contents
Within this repository you will find:
| Directory | Description |
| --------- | --------------------------------------------------------------------------- |
| [docs](docs) | Contains all `.Rmd`s and their corresponding `.html`s describing analyses performed for this project. These can be view interactively at: [https://rhreynolds.github.io/neurodegen-psych-local-corr/](https://rhreynolds.github.io/neurodegen-psych-local-corr/)|
| [logs](logs) | For any scripts that were run outside of an `.Rmd` (e.g. scripts from the [scripts](scripts) directory), a log file was recorded and can be accessed here. |
| [man](man) | Figures used in `.Rmd`s. |
| [R](R)| Various functions called in [docs](docs) and [scripts](scripts). |
| [raw_data](raw_data) | External tables used in analyses. |
| [renv](renv) | `renv`-related scripts- |
| [results](results) | Results from all analyses. |
| [scripts](scripts) | Contains analysis scripts. Each script contains a one-line description and is also referenced in its corresponding `.Rmd`. |
# Reproducibility
This repository uses [`renv`](https://rstudio.github.io/renv/index.html) to create a reproducible environment for this R project.
1. When you first launches this project, `renv` should automatically bootstrap itself, thereby downloading and installing the appropriate version of `renv` into the project library.
2. After this has completed, you can use `renv::restore()` to restore the project library locally on your machine.
For more information on collaborating with `renv`, please refer to this [link](https://rstudio.github.io/renv/articles/collaborating.html).
# License
The code in this repository is released under an MIT license. This repository is distributed in the hope that it will be useful to the wider community, but without any warranty of any kind. Please see the [LICENSE](LICENSE) file for more details.
# Citation
If you use any of the code or data from this repository, please cite our [paper](https://www.medrxiv.org/content/10.1101/2022.05.30.22275781v2) and, if applicable, any software dependencies (e.g. [LAVA](https://github.com/josefin-werme/LAVA)).