cnio-bu / beyondcell

Beyondcell is a computational methodology for identifying tumour cell subpopulations with distinct drug responses in single-cell RNA-seq and Spatial Transcriptomics data.
Other
43 stars 4 forks source link

Test warning: warning (test-bcScore.R:349): default values #63

Closed SGMartin closed 1 year ago

SGMartin commented 1 year ago
Warning (test-bcScore.R:349): default values
no non-missing arguments to min; returning Inf
Backtrace:
 1. beyondcell::bcScore(pbmc, gs = ssc, expr.thres = 0)
      at test-bcScore.R:349:2
 3. base::apply(bc@normalized, 1, scales::rescale, to = c(0, 1))
      at beyondcell/R/Score.R:171:2
 5. scales:::rescale.numeric(newX[, i], ...)
 7. base::range(x, na.rm = TRUE, finite = TRUE)

This is actually a sister issue to #64 In this case, it's failing a min(x) whereas in #64 is a max(x)

SGMartin commented 1 year ago

Closed in #77