Skip to content

Commit

Permalink
add isTRUE() in if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
andrearaithel committed Aug 14, 2024
1 parent 7fa37b1 commit 3c689c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if(length(gr) > 0){
#ods <- estimateSizeFactors(ods) #Unnecessary!

## find optimal encoding dimension
if (oht){
if isTRUE(oht){
message(date(), ": Using OHT implementation to determine optimal q ...")
opt_q <- estimateBestQ(ods)
metadata(ods)[["optimalEncDim"]] <- opt_q
Expand Down

0 comments on commit 3c689c7

Please sign in to comment.