Skip to content

Commit

Permalink
fix error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorces authored Jun 8, 2022
1 parent 6e218eb commit 21099d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/IterativeLSI.R
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ addIterativeLSI <- function(
.logDiffTime("Computing Variable Features", tstart, addHeader = FALSE, verbose = verbose, logFile = logFile)
nFeature <- varFeatures[1]
if(nFeature > 0.5 * nrow(totalAcc)){
stop("nFeature for variable selection must be at leat 1/2 the total features!")
stop("nFeature for variable selection must be less than 1/2 the total features!")
}
topIdx <- head(order(totalAcc$combinedVars, decreasing=TRUE), nFeature)
topFeatures <- totalAcc[sort(topIdx),]
Expand Down

0 comments on commit 21099d6

Please sign in to comment.