Browse code

Set default interactive to FALSE for plotSeuratElbow

Josh Campbell authored on 12/02/2025 12:50:51
Showing 1 changed files

... ...
@@ -1117,7 +1117,7 @@ runSeuratUMAP <- function(inSCE,
1117 1117
 #' other libraries. Default \code{NULL}.
1118 1118
 #' @param interactive Logical value indicating if the returned object should
1119 1119
 #'  be an interactive plotly object if \code{TRUE} or a ggplot object if
1120
-#'  set to \code{FALSE}. Default is \code{TRUE}.
1120
+#'  set to \code{FALSE}. Default is \code{FALSE}.
1121 1121
 #' @examples
1122 1122
 #' data(scExample, package = "singleCellTK")
1123 1123
 #' \dontrun{
... ...
@@ -1134,7 +1134,7 @@ plotSeuratElbow <- function(inSCE,
1134 1134
                             reduction = "pca",
1135 1135
                             ndims = 20,
1136 1136
                             externalReduction = NULL,
1137
-                            interactive = TRUE) {
1137
+                            interactive = FALSE) {
1138 1138
   seuratObject <- convertSCEToSeurat(inSCE)
1139 1139
   if (!is.null(externalReduction)) {
1140 1140
     seuratObject@reductions <- list(pca = externalReduction)