Skip to content

Commit c1af621

Browse files
Mark legacy functions as internal and update pkgdown config
1 parent 1beecb6 commit c1af621

File tree

88 files changed

+113
-113
lines changed

Some content is hidden

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

88 files changed

+113
-113
lines changed

.Rhistory

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pkgdown::build_site()
2+
pkgdown::build_site()
3+
pkgdown::preview_site(path='reference/univariate_elasticnet.html')
4+
pkgdown::build_site()
5+
devtools::document()
6+
pkgdown::build_site()

NAMESPACE

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export(bayes_factor)
1010
export(burdenTest)
1111
export(burdenTest_all)
1212
export(compute_blup)
13+
export(compute_curds_whey)
14+
export(compute_finemap_regress)
1315
export(compute_fixed)
1416
export(compute_fixed_precomputed)
1517
export(compute_isotwas)
@@ -23,7 +25,9 @@ export(create_isotwas_model)
2325
export(create_isotwas_result)
2426
export(create_similarity_from_exons)
2527
export(create_transcript_model)
28+
export(curds_whey)
2629
export(estimate_cor)
30+
export(finemap_regress)
2731
export(get_prediction_matrix)
2832
export(get_resid)
2933
export(get_weight_matrix)
@@ -57,6 +61,7 @@ importFrom(boot,boot)
5761
importFrom(caret,createFolds)
5862
importFrom(condMVNorm,condMVN)
5963
importFrom(doParallel,registerDoParallel)
64+
importFrom(estimatr,lm_robust)
6065
importFrom(glmnet,cv.glmnet)
6166
importFrom(glmnet,glmnet)
6267
importFrom(huge,huge)
@@ -70,12 +75,15 @@ importFrom(rrBLUP,mixed.solve)
7075
importFrom(rtracklayer,import)
7176
importFrom(spls,cv.spls)
7277
importFrom(spls,spls)
78+
importFrom(stats,cancor)
7379
importFrom(stats,coef)
7480
importFrom(stats,cor.test)
7581
importFrom(stats,lm)
7682
importFrom(stats,model.matrix)
7783
importFrom(stats,pnorm)
84+
importFrom(stats,runif)
7885
importFrom(stats,sd)
86+
importFrom(susieR,susie)
7987
importFrom(tibble,tibble)
8088
importFrom(utils,combn)
8189
useDynLib(isotwas)

R/compute_curds_whey.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#' @importFrom rlist list.append
2222
#' @importFrom caret createFolds
2323
#'
24+
#' @keywords internal
2425
#' @export
2526
compute_curds_whey <- function(X,
2627
Y,

R/compute_finemap_regress.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#' @importFrom tibble tibble
2222
#' @importFrom rlist list.append
2323
#'
24+
#' @keywords internal
2425
#' @export
2526
compute_finemap_regress <- function(X,
2627
Y,

R/compute_fixed.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#'
1313
#' @return list of MRCE estimates
1414
#'
15+
#' @keywords internal
1516
#' @export
1617
compute_fixed = function(X,
1718
Y,
@@ -71,6 +72,7 @@ compute_fixed = function(X,
7172
#'
7273
#' @return list of MRCE estimates
7374
#'
75+
#' @keywords internal
7476
#' @export
7577
compute_fixed_precomputed = function(xtx,
7678
xtyom,

R/curds_whey.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#' @importFrom stats cancor
2323
#' @importFrom stats runif
2424
#'
25+
#' @keywords internal
2526
#' @export
2627
curds_whey <- function(X,
2728
Y,

R/finemap_regress.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#' @importFrom susieR susie
1818
#' @importFrom estimatr lm_robust
1919
#'
20+
#' @keywords internal
2021
#' @export
2122
finemap_regress <- function(X,
2223
Y,

_pkgdown.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,11 @@ reference:
6767
- bayes_factor
6868
- conditional_test_focus
6969
- conditional_test
70+
- title: internal
71+
contents:
72+
- compute_curds_whey
73+
- compute_finemap_regress
74+
- compute_fixed
75+
- compute_fixed_precomputed
76+
- curds_whey
77+
- finemap_regress

docs/404.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/index.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)