Skip to content

Commit b8a4397

Browse files
committed
Fix check + cleanup package
1 parent d2fe6b3 commit b8a4397

File tree

75 files changed

+847
-4398
lines changed

Some content is hidden

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

75 files changed

+847
-4398
lines changed

.Rbuildignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
^\.Rproj\.user$
33
^LICENSE\.md$
44
^\.github$
5+
^docs$
6+
^_pkgdown\.yml$
7+
^functions\.Rcheck$

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
rmd/imputation_test.html
77
rmd/imputation_test_cache/
88
rmd/imputation_test_files/
9+
vignettes/*.html
10+
vignettes/*_cache/
11+
vignettes/*_files/
912
scripts/

DESCRIPTION

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,25 @@ Encoding: UTF-8
1010
LazyData: true
1111
Roxygen: list(markdown = TRUE)
1212
RoxygenNote: 7.3.3
13+
VignetteBuilder: knitr
1314
Imports:
1415
dplyr, forcats, ggplot2, tibble, tidyr, purrr,
1516
plyr,
1617
data.table,
17-
here,
18-
rmarkdown,
1918
stats,
2019
utils,
2120
rlang,
22-
graphics,
23-
tidyselect
21+
survival,
22+
ggforestplot,
23+
cli,
24+
gginnards,
25+
ggtext,
26+
glue,
27+
ieugwasr,
28+
patchwork,
29+
scales,
30+
ggrepel,
31+
cowplot
2432
Suggests:
2533
stringr,
2634
tidyverse,
@@ -30,15 +38,10 @@ Suggests:
3038
ggstance,
3139
gwasvcf,
3240
genetics.binaRies,
33-
survival,
3441
TwoSampleMR,
3542
wesanderson,
36-
ggforestplot,
37-
scales,
3843
calibrate,
39-
cowplot,
4044
reshape2,
41-
ggrepel,
4245
locuscomparer,
4346
haven,
4447
readstata13,
@@ -47,7 +50,7 @@ Suggests:
4750
doParallel,
4851
foreach,
4952
clusterProfiler,
50-
biomaRt,checkmate,locusplotr,testthat (>= 3.0.0)
53+
biomaRt,checkmate,locusplotr,testthat (>= 3.0.0),knitr,here,rmarkdown,tidyselect
5154
Remotes:
5255
NightingaleHealth/ggforestplot,
5356
MRCIEU/genetics.binaRies,

NAMESPACE

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,21 @@ export(finemap_pval_LD)
1818
export(finimom_cs_table)
1919
export(forestplot)
2020
export(format_data)
21-
export(format_data2)
2221
export(get_ld_proxies)
2322
export(gg_locusplot)
2423
export(gg_regionplot)
25-
export(harmonise_data_sex)
2624
export(locuscomparer)
2725
export(manhattan)
26+
export(miamiplot)
2827
export(missing_EAF)
2928
export(model_test)
3029
export(mr_density_plot)
3130
export(mr_forest_plot)
3231
export(mr_funnel_plot)
33-
export(mr_heterogeneity_sex)
3432
export(mr_leaveoneout_plot)
35-
export(mr_leaveoneout_sex)
36-
export(mr_pleiotropy_test_sex)
3733
export(mr_scatter_plot)
38-
export(mr_sex)
39-
export(mr_singlesnp_sex)
4034
export(palette)
4135
export(proxy_search)
42-
export(proxy_search_DECODE)
43-
export(proxy_search_UKB)
4436
export(proxy_search_split)
4537
export(qqplot)
4638
export(read_file)

R/TwoSampleMR_functions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ calculate_fstat_from_beta_se <- function(data, grouping_column) {
688688
fstat_mean_from_b_se <- data |>
689689
dplyr::group_by(!!rlang::sym(group_col_name)) |>
690690
dplyr::summarize(
691-
mean_fstat_from_b_se = mean(fstat_from_b_se, na.rm = TRUE),
691+
mean_fstat_from_b_se = mean(.data$fstat_from_b_se, na.rm = TRUE),
692692
.groups = "drop"
693693
)
694694

R/TwoSampleMR_functions_sex-specific.R

Lines changed: 0 additions & 200 deletions
This file was deleted.

0 commit comments

Comments
 (0)