Skip to content

Commit

Permalink
add isTRUE() to if condition in Summary.R
Browse files Browse the repository at this point in the history
  • Loading branch information
andrearaithel committed Aug 14, 2024
1 parent 3c689c7 commit 61be28b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if(is.null(colData(ods)$isExternal)) colData(ods)$isExternal <- FALSE
#'
#' ## Visualize
#' ### Encoding dimension
if (metadata(ods)[["useOHTtoObtainQ"]]){
if isTRUE((metadata(ods)[["useOHTtoObtainQ"]])){
print(c("Optimal dimension q was determined using OHT to be", getBestQ(ods)), quote = F)
} else{
plotEncDimSearch(ods) +
Expand Down

0 comments on commit 61be28b

Please sign in to comment.