Skip to content

Commit 3bc6dc0

Browse files
authored
S4 refactor + feature additions (#493)
* add RSS extensions of MCP, SCAP, L0Learn * add other p-value methods * s4 refactor, h2 methods and pvalue combination methods * LD cleanup * rename some classes and clean up comments * Update documentation --------- Co-authored-by: danielnachun <danielnachun@users.noreply.github.com>
1 parent c638868 commit 3bc6dc0

175 files changed

Lines changed: 15768 additions & 1280 deletions

File tree

Some content is hidden

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

.github/recipe/recipe.yaml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,20 @@ requirements:
2323
- ${{ stdlib('c') }}
2424
- ${{ compiler('cxx') }}
2525
host:
26+
- bioconductor-biocparallel
27+
- bioconductor-biostrings
28+
- bioconductor-genomicranges
2629
- bioconductor-iranges
2730
- bioconductor-qvalue
2831
- bioconductor-s4vectors
2932
- bioconductor-snprelate
3033
- bioconductor-snpstats
3134
- bioconductor-mungesumstats
3235
- bioconductor-rsamtools
36+
- bioconductor-rtracklayer
37+
- bioconductor-summarizedexperiment
38+
- r-arrow
39+
- r-aspu
3340
- r-base
3441
- r-bglr
3542
- r-bigsnpr
@@ -39,26 +46,26 @@ requirements:
3946
- r-cpp11
4047
- r-cpp11armadillo
4148
- r-decor
42-
- r-dofuture
4349
- r-dplyr
4450
- r-flashier
4551
- r-fsusier
46-
- r-furrr
47-
- r-future
4852
- r-gbj
4953
- r-glmnet
5054
- r-harmonicmeanp
5155
- r-igraph
5256
- r-l0learn
5357
- r-magrittr
5458
- r-mashr
59+
- r-matrix
5560
- r-matrixstats
5661
- r-mr.ash.alpha
5762
- r-mr.mashr
5863
- r-mvsusier
5964
- r-ncvreg
6065
- r-nnls
6166
- r-pgenlibr
67+
- r-plinkqc
68+
- r-poolr
6269
- r-purrr
6370
- r-qgg
6471
- r-quadprog
@@ -73,42 +80,53 @@ requirements:
7380
- r-tidyr
7481
- r-vctrs
7582
- r-vroom
83+
- r-xgboost
7684
run:
77-
- bioconductor-biostrings
85+
- bioconductor-biocparallel
86+
- bioconductor-genomicranges
7887
- bioconductor-iranges
7988
- bioconductor-qvalue
8089
- bioconductor-s4vectors
90+
- bioconductor-snprelate
8191
- bioconductor-snpstats
92+
- bioconductor-mungesumstats
93+
- bioconductor-rsamtools
94+
- bioconductor-rtracklayer
95+
- bioconductor-summarizedexperiment
96+
- r-arrow
97+
- r-aspu
8298
- r-base
8399
- r-bglr
84100
- r-bigsnpr
85101
- r-coda
86102
- r-coloc
87103
- r-colocboost
88-
- r-dofuture
104+
- r-cpp11
105+
- r-cpp11armadillo
106+
- r-decor
89107
- r-dplyr
90108
- r-flashier
91109
- r-fsusier
92-
- r-furrr
93-
- r-future
94110
- r-gbj
95111
- r-glmnet
96112
- r-harmonicmeanp
97113
- r-igraph
98114
- r-l0learn
99115
- r-magrittr
100116
- r-mashr
117+
- r-matrix
101118
- r-matrixstats
102119
- r-mr.ash.alpha
103120
- r-mr.mashr
104121
- r-mvsusier
105122
- r-ncvreg
106123
- r-nnls
107124
- r-pgenlibr
125+
- r-plinkqc
126+
- r-poolr
108127
- r-purrr
109128
- r-qgg
110-
- r-rcpp
111-
- r-rcpparmadillo
129+
- r-quadprog
112130
- r-rcppdpr
113131
- r-readr
114132
- r-rfast
@@ -120,6 +138,7 @@ requirements:
120138
- r-tidyr
121139
- r-vctrs
122140
- r-vroom
141+
- r-xgboost
123142

124143
tests:
125144
- script:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ src/Makevars
99
pecotmr.Rproj
1010
/pixi.lock
1111
/.pixi
12+
dev
1213
docs
1314
.claude
1415
dev

DESCRIPTION

Lines changed: 64 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@ Authors@R: c(person("Gao Wang",role = c("cre","aut"),
1414
person("StatFunGen Lab", role = "ctb"))
1515
License: MIT + file LICENSE
1616
Imports:
17+
BiocParallel,
18+
Biostrings,
1719
GenomicRanges,
1820
IRanges,
21+
MASS,
22+
Matrix,
1923
MungeSumstats,
2024
Rsamtools,
2125
S4Vectors,
26+
SummarizedExperiment,
2227
coloc,
23-
doFuture,
2428
dplyr,
25-
furrr,
26-
future,
2729
magrittr,
2830
matrixStats,
31+
methods,
2932
purrr,
3033
quadprog,
3134
readr,
@@ -38,35 +41,42 @@ Imports:
3841
vctrs,
3942
vroom
4043
Suggests:
44+
aSPU,
45+
arrow,
4146
BGLR,
4247
bigsnpr,
4348
bigstatsr,
4449
coda,
4550
colocboost,
46-
GBJ,
47-
L0Learn,
48-
Rfast,
49-
RcppDPR,
5051
flashier,
5152
fsusieR,
53+
GBJ,
54+
gdsfmt,
5255
glmnet,
5356
harmonicmeanp,
57+
igraph,
5458
knitr,
59+
L0Learn,
5560
lassosum,
5661
mashr,
5762
mr.mashr,
5863
mvsusieR,
5964
ncvreg,
6065
nnls,
6166
pgenlibr,
67+
plinkQC,
68+
poolr,
6269
qgg,
6370
qvalue,
71+
Rfast,
72+
RcppDPR,
6473
rmarkdown,
65-
gdsfmt,
74+
rtracklayer,
6675
SNPRelate,
6776
snpStats,
6877
testthat,
69-
VariantAnnotation
78+
VariantAnnotation,
79+
xgboost
7080
Remotes:
7181
stephenslab/fsusieR,
7282
stephenslab/mvsusieR,
@@ -78,3 +88,48 @@ NeedsCompilation: yes
7888
VignetteBuilder: knitr
7989
Config/roxygen2/version: 8.0.0
8090
RoxygenNote: 7.3.3
91+
Collate:
92+
'AllClasses.R'
93+
'AllGenerics.R'
94+
'AllMethods.R'
95+
'LD.R'
96+
'allele_qc.R'
97+
'colocboost_pipeline.R'
98+
'compute_qtl_enrichment.R'
99+
'cpp11.R'
100+
'ctwas_wrapper.R'
101+
'dentist_qc.R'
102+
'encoloc.R'
103+
'example_data.R'
104+
'file_utils.R'
105+
'fsusie_wrapper.R'
106+
'genotype_io.R'
107+
'gwas_sumstats.R'
108+
'h2_annotations.R'
109+
'h2_estimate_wrappers.R'
110+
'h2_gldsc.R'
111+
'h2_hdl.R'
112+
'h2_lder.R'
113+
'h2_utils.R'
114+
'ld_loader.R'
115+
'mash_wrapper.R'
116+
'misc.R'
117+
'mr.R'
118+
'mrmash_wrapper.R'
119+
'multitrait_data.R'
120+
'multivariate_pipeline.R'
121+
'otters.R'
122+
'pval_combine.R'
123+
'raiss.R'
124+
'regularized_regression.R'
125+
'relatedness_qc.R'
126+
'slalom.R'
127+
'sldsc_wrapper.R'
128+
'sumstats_qc.R'
129+
'susie_wrapper.R'
130+
'twas.R'
131+
'twas_weights.R'
132+
'univariate_pipeline.R'
133+
'univariate_rss_diagnostics.R'
134+
'variant_id.R'
135+
'vcf_writer.R'

0 commit comments

Comments
 (0)