You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: A differential abundance method for the analysis of microbiome data. radEmu estimates fold-differences in the abundance of taxa across samples relative to "typical" fold-differences. Notably, it does not require pseudocounts, nor choosing a denominator taxon.
This is a major release that speeds up score tests, and forces the user to clarify that they wish to perform score tests. It makes the default behaviour faster, but is not backwards compatible.
4
+
5
+
## Breaking changes
6
+
7
+
* The argument `test_kj` is now required for `emuFit()` when `run_score_tests = TRUE` (the default). Previous default behavior was to run score tests for every parameter, which can be very time consuming(and can easily be parallelized). This change forces the user to explicitly state what tests they would like to run, significantly decreasing unnecessary computation.
8
+
9
+
## Additional changes
10
+
11
+
* We have also streamlined estimation under the null, leading to improved convergence and reduced computation.
# check that test_kj is not null if running score tests
210
+
if (run_score_tests) {
211
+
if (is.null(test_kj)) {
212
+
stop("When `run_score_tests = TRUE`, you must provide a matrix `test_kj` to determine which parameters you want to test. If you don't know which indices k correspond to the covariate(s) that you would like to test, run the function `radEmu::make_design_matrix()` in order to view the design matrix, and identify which column of the design matrix corresponds to each covariate in your model. If you don't know which indices j correspond to categories (taxa) that you want to test, you can look at the columns and column names of your `Y` matrix.")
213
+
}
214
+
}
215
+
207
216
# check for valid argument remove_zero_comparison_pvals
208
217
if (remove_zero_comparison_pvals!=TRUE&remove_zero_comparison_pvals!=FALSE) {
209
218
if (!(is.numeric(remove_zero_comparison_pvals) &remove_zero_comparison_pvals<=1&
0 commit comments