Skip to content

Commit

Permalink
fix some build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Feb 29, 2024
1 parent afca326 commit 248ce01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ Authors@R:
email = "[email protected]"))
Imports:
ape,
boot,
data.table,
DESeq2,
Hmisc,
jsonlite,
Maaslin2,
methods,
Rcpp (>= 0.11.0),
SpiecEasi,
SpiecEasi (>= 1.1.1),
stringi,
vegan,
veupathUtils,
Expand Down
8 changes: 4 additions & 4 deletions R/method-correlation.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ selfCorrelationGeneric <- getGeneric("selfCorrelation", package = "veupathUtils"
#' @param stdDevThreshold numeric threshold to filter features by standard deviation across samples
#' @return a ComputeResult object
#' @export
setMethod("correlation", signature("AbundanceData", "missing"),
setMethod(correlationGeneric, signature("AbundanceData", "missing"),
function(data1, data2, method = c('spearman','pearson'), format = c('ComputeResult', 'data.table'), verbose = c(TRUE, FALSE), proportionNonZeroThreshold = 0.5, varianceThreshold = 0, stdDevThreshold = 0) {

format <- veupathUtils::matchArg(format)
Expand Down Expand Up @@ -53,7 +53,7 @@ function(data1, data2, method = c('spearman','pearson'), format = c('ComputeRes
#' @return ComputeResult object
#' @import veupathUtils
#' @export
setMethod("selfCorrelation", signature("AbundanceData"),
setMethod(selfCorrelationGeneric, signature("AbundanceData"),
function(data, method = c('spearman','pearson','sparcc'), format = c('ComputeResult', 'data.table'), verbose = c(TRUE, FALSE), proportionNonZeroThreshold = 0.5, varianceThreshold = 0, stdDevThreshold = 0) {

format <- veupathUtils::matchArg(format)
Expand Down Expand Up @@ -89,7 +89,7 @@ function(data, method = c('spearman','pearson','sparcc'), format = c('ComputeRes
#' @return ComputeResult object
#' @import veupathUtils
#' @export
setMethod("selfCorrelation", signature("SampleMetadata"),
setMethod(selfCorrelationGeneric, signature("SampleMetadata"),
function(data, method = c('spearman','pearson','sparcc'), format = c('ComputeResult', 'data.table'), verbose = c(TRUE, FALSE)) {

format <- veupathUtils::matchArg(format)
Expand Down Expand Up @@ -122,7 +122,7 @@ function(data, method = c('spearman','pearson','sparcc'), format = c('ComputeRes
#' @param stdDevThreshold numeric threshold to filter features by standard deviation across samples
#' @return ComputeResult object
#' @export
setMethod("correlation", signature("AbundanceData", "AbundanceData"),
setMethod(correlationGeneric, signature("AbundanceData", "AbundanceData"),
function(data1, data2, method = c('spearman','pearson'), format = c('ComputeResult', 'data.table'), verbose = c(TRUE, FALSE), proportionNonZeroThreshold = 0.5, varianceThreshold = 0, stdDevThreshold = 0) {

format <- veupathUtils::matchArg(format)
Expand Down

0 comments on commit 248ce01

Please sign in to comment.