Skip to content

Commit 40ff41a

Browse files
committed
Don't suggest aggr.ref=TRUE if it was already set.
1 parent f6615e5 commit 40ff41a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/trainSingleR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ trainSingleR <- function(
256256
if (de.method == "classic") {
257257
hints <- c(hints, "'de.method = \"t\"' or \"wilcox\"")
258258
}
259-
if (ncol(curref) >= 1000) {
259+
if (ncol(curref) >= 1000 && !aggr.ref) {
260260
what <- paste("large", what)
261261
hints <- c(hints, "'aggr.ref = TRUE' for speed")
262262
}

0 commit comments

Comments
 (0)