Skip to content

Commit 51a05f4

Browse files
authored
Merge pull request #2 from StatFunGen/main
update from main
2 parents 79ca686 + b15a043 commit 51a05f4

File tree

98 files changed

+740
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+740
-43
lines changed

.DS_Store

-6 KB
Binary file not shown.

.github/workflows/deploy-book.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: deploy-book
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-book:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up Python 3.9
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.9
18+
19+
- name: Install dependencies
20+
run: |
21+
pip install jupyter-book
22+
pip install ghp-import
23+
24+
- name: Build the book
25+
run: |
26+
jupyter-book build . --config manuscript-website/_config.yml --toc manuscript-website/_toc.yml
27+
28+
- name: GitHub Pages action
29+
uses: peaceiris/actions-gh-pages@v3.6.1
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: ./_build/html
33+

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,34 @@ po/*~
4747

4848
# RStudio Connect folder
4949
rsconnect/
50+
51+
# Jupyter Notebook specific
52+
.ipynb_checkpoints
53+
*/.ipynb_checkpoints/*
54+
*.nbconvert.ipynb
55+
.jupyter/
56+
jupyter_notebook_config.py
57+
58+
# Mac specific
59+
.DS_Store
60+
.AppleDouble
61+
.LSOverride
62+
Icon
63+
._*
64+
.DocumentRevisions-V100
65+
.fseventsd
66+
.Spotlight-V100
67+
.TemporaryItems
68+
.Trashes
69+
.VolumeIcon.icns
70+
.com.apple.timemachine.donotpresent
71+
72+
# Editor specific files
73+
.idea/
74+
.vscode/
75+
*.swp
76+
*.swo
77+
*~
78+
79+
# Jupyter Book
80+
_build

Main Figures/Figure2/.ipynb_checkpoints/Figure2a-checkpoint.ipynb renamed to Main_Figures/Figure_2/.ipynb_checkpoints/Figure2a-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"library(ggpattern)\n",
2323
"library(ggpubr)\n",
2424
"library(cowplot)\n",
25-
"sumstat <- readRDS(\"Figure2a.rds\")\n",
25+
"sumstat <- readRDS(\"Figure_2a.rds\")\n",
2626
"sumstat <- sumstat %>% filter(max_causal != 4)\n",
2727
"colors_man <- c(\"#B24745FF\", \"#00A1D5FF\", \"#79AF97FF\", \"#DF8F44FF\")"
2828
]

Main Figures/Figure2/.ipynb_checkpoints/Figure2b-checkpoint.ipynb renamed to Main_Figures/Figure_2/.ipynb_checkpoints/Figure2b-checkpoint.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
],
7070
"source": [
7171
"library(tidyverse)\n",
72-
"data <- readRDS(\"Figure2b.rds\")$HeterogeneousEffect\n",
72+
"data <- readRDS(\"Figure_2b.rds\")$HeterogeneousEffect\n",
7373
"X <- data$X\n",
7474
"Y <- data$Y\n",
7575
"data$variant"
@@ -1179,7 +1179,7 @@
11791179
],
11801180
"source": [
11811181
"library(tidyverse)\n",
1182-
"data <- readRDS(\"Figure2b.rds\")$LDInfluence\n",
1182+
"data <- readRDS(\"Figure_2b.rds\")$LDInfluence\n",
11831183
"X <- data$X\n",
11841184
"Y <- data$Y\n",
11851185
"data$variant"
@@ -2052,7 +2052,7 @@
20522052
],
20532053
"source": [
20542054
"library(tidyverse)\n",
2055-
"data <- readRDS(\"Figure2b.rds\")$WeakerTarget\n",
2055+
"data <- readRDS(\"Figure_2b.rds\")$WeakerTarget\n",
20562056
"X <- data$X\n",
20572057
"Y <- data$Y\n",
20582058
"data$variant"

Main Figures/Figure2/.ipynb_checkpoints/Figure2c-checkpoint.ipynb renamed to Main_Figures/Figure_2/.ipynb_checkpoints/Figure2c-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"library(ggpattern)\n",
2323
"library(ggpubr)\n",
2424
"library(cowplot)\n",
25-
"res <- readRDS(\"Figure2c.rds\")\n",
25+
"res <- readRDS(\"Figure_2c.rds\")\n",
2626
"colors_man <- c(\"#B24745FF\", \"#00A1D5FF\", \"#79AF97FF\", \"#DF8F44FF\")"
2727
]
2828
},

Main Figures/Figure2/.ipynb_checkpoints/Figure2d-checkpoint.ipynb renamed to Main_Figures/Figure_2/.ipynb_checkpoints/Figure2d-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"library(ggpattern)\n",
2323
"library(ggpubr)\n",
2424
"library(cowplot)\n",
25-
"sumstat <- readRDS(\"Figure2d.rds\")\n",
25+
"sumstat <- readRDS(\"Figure_2d.rds\")\n",
2626
"sumstat <- sumstat %>% filter(heritability != 0.05)\n",
2727
"colors_man <- c(\"#B24745FF\", \"#00A1D5FF\", \"#79AF97FF\", \"#DF8F44FF\")"
2828
]

Main Figures/Figure2/.ipynb_checkpoints/Figure2e-checkpoint.ipynb renamed to Main_Figures/Figure_2/.ipynb_checkpoints/Figure2e-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"library(ggpattern)\n",
2323
"library(ggpubr)\n",
2424
"library(cowplot)\n",
25-
"result <- readRDS(\"Figure2e.rds\")\n",
25+
"result <- readRDS(\"Figure_2e.rds\")\n",
2626
"result$method <- factor(result$method, levels = c(\"ColocBoost\", \"OPERA\"))\n",
2727
"colors_man <- c(\"#B24745FF\", \"#1d4a9e\")"
2828
]

0 commit comments

Comments
 (0)