Skip to content

Commit b32d6b2

Browse files
authored
Merge pull request #168 from svteichman/fix_latex
replace "bryandmartin/corncob" with "statdivlab/corncob" in a few places to make sure all urls are valid
2 parents a558a60 + 48016c1 commit b32d6b2

File tree

7 files changed

+12
-9
lines changed

7 files changed

+12
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ RUN R -e "install.packages('tidyverse', repos = 'http://cran.us.r-project.org');
1515
RUN R -e "install.packages('vroom', repos = 'http://cran.us.r-project.org'); library(vroom)"
1616

1717
# Install corncob
18-
RUN R -e "library(devtools); devtools::install_github('bryandmartin/corncob')"
18+
RUN R -e "library(devtools); devtools::install_github('statdivlab/corncob')"

R/contrastsTest.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#' "DayAmdmt22 - DayAmdmt21"),
3030
#' data = soil_phylum_small_contrasts,
3131
#' fdr_cutoff = 0.05,
32-
#' try_only = 5)
32+
#' try_only = 1:5)
3333
#' @export
3434
contrastsTest <- function(formula, phi.formula,
3535
contrasts_DA = NULL,
@@ -102,14 +102,14 @@ contrastsTest <- function(formula, phi.formula,
102102
}
103103

104104
if (is.null(try_only)) {
105-
try_only <- length(taxanames)
105+
try_only <- 1:length(taxanames)
106106
}
107107

108108
if (is.character(try_only)) {
109109
try_only <- which(taxanames %in% try_only)
110110
}
111111
# Loop through OTU/taxa
112-
for (i in 1:try_only) {
112+
for (i in try_only) {
113113

114114
# Subset data to only select that taxa
115115
data_i <- convert_phylo(data, select = taxanames[i])

R/corncob.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
#' @details
1010
#' For details on the model implemented in this package, see Martin et al. (2020) <doi:10.1214/19-AOAS1283>.
1111
#'
12-
#' The development version of the package will be maintained on \url{https://github.com/bryandmartin/corncob}.
12+
#' The development version of the package will be maintained on \url{https://github.com/statdivlab/corncob}.
1313
NULL

R/differentialTest.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
#' phi.formula_null = ~ DayAmdmt,
3838
#' test = "Wald", boot = FALSE,
3939
#' data = soil_phylum_small,
40-
#' fdr_cutoff = 0.05)
40+
#' fdr_cutoff = 0.05,
41+
#' try_only = 1:5)
4142
#' @export
4243
differentialTest <- function(formula, phi.formula,
4344
formula_null, phi.formula_null,

R/plot_differentialTest.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
#' phi.formula_null = ~ DayAmdmt,
1818
#' test = "Wald", boot = FALSE,
1919
#' data = soil_phylum_small,
20-
#' fdr_cutoff = 0.05)
20+
#' fdr_cutoff = 0.05,
21+
#' try_only = 1:5)
2122
#' plot(da_analysis, level = "Phylum")
2223
#'
2324
#' @export

man/contrastsTest.Rd

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

man/corncob-package.Rd

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)