Skip to content

Commit 1f4f99b

Browse files
initializing with lots of code
1 parent 17fa216 commit 1f4f99b

Some content is hidden

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

53 files changed

+265013
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ vignettes/*.pdf
3434

3535
# Shiny token, see https://shiny.rstudio.com/articles/shinyapps.html
3636
rsconnect/
37+
38+
.DS_Store

TreeWAS/.Rbuildignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# R project
2+
^.*\.Rproj$
3+
^\.Rproj\.user$
4+
5+
# bash scripts
6+
^buildLocally.sh$
7+
8+
# git
9+
^\.gitignore$
10+
^\.gitattributes$
11+
12+
# testthat
13+
^tests/testthat/Rplots.pdf$

TreeWAS/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TreeWAS.Rcheck/
2+
TreeWAS_*.tar.gz

TreeWAS/DESCRIPTION

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Package: TreeWAS
2+
Type: Package
3+
Title: Bayesian analysis of genetic association across tree-structured routine
4+
healthcare data in the UK Biobank
5+
Version: 0.1.0
6+
Authors@R: c(
7+
person("Adrian", "Cortes", role = c("aut", "cre", "cph"), email="[email protected]"),
8+
person("Joe", "Zhu", role=c("ctb"), email="[email protected]")
9+
)
10+
Description: Method employs a novel Bayesian analysis framework that exploits
11+
the hierarchical structure of diagnosis classifications to jointly analyse
12+
genetic variants against UK Biobank healthcare phenotypes.
13+
URL: https://github.com/mcveanlab/TreeWAS
14+
License: MIT
15+
BugReports: https://github.com/mcveanlab/TreeWAS/issues
16+
Depends:
17+
R (>= 3.0.0)
18+
Suggests:
19+
data.table,
20+
mvtnorm,
21+
testthat (>= 0.9.0)
22+
LazyData: true
23+
RoxygenNote: 6.0.1

TreeWAS/NAMESPACE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
importFrom("graphics", "abline", "image", "plot")
2+
importFrom("stats", "dnorm", "uniroot")
3+
4+
export(calculate.integrated.llk_scaled)
5+
export(calculate.integrated.llk_scaled_additive)
6+
export(calculate.integrated_1d_llk_scaled)
7+
export(calculate.llk.grid.wrapper)
8+
export(calculate.llk.grid_scaled)
9+
export(calculate.llk.grid_scaled_additive)
10+
export(calculate_1d_llk_grid_scaled)
11+
export(calculate_1d_prior)
12+
export(calculate_prior_2d)
13+
export(cc_d.llk)
14+
export(cc_d.llk_additive)
15+
export(cc_llk)
16+
export(cc_llk_additive)
17+
export(get.posterior.node)
18+
export(get.posterior.node_1d)
19+
export(get.posterior.node_additive)
20+
export(prepare_count_table)
21+
export(prepare_tree_table)
22+
export(prepare_tree_table_grs)

0 commit comments

Comments
 (0)