From a4c6f7138527ca6090da0f172e3566fb74b2e618 Mon Sep 17 00:00:00 2001 From: Gesmira Date: Fri, 20 Oct 2023 14:05:39 -0400 Subject: [PATCH] fix subset --- R/preprocessing.R | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/R/preprocessing.R b/R/preprocessing.R index f2aa733..82a2256 100644 --- a/R/preprocessing.R +++ b/R/preprocessing.R @@ -303,11 +303,7 @@ FindTopFeatures.Assay <- function( verbose = verbose, ... ) - if (packageVersion(pkg = "SeuratObject") < "4.9.9") { - object[[names(x = hvf.info)]] <- hvf.info - } else { - object[names(x = hvf.info)] <- hvf.info - } + object[[names(x = hvf.info)]] <- hvf.info if (is.null(x = min.cutoff)) { VariableFeatures(object = object) <- rownames(x = hvf.info) } else if (is.numeric(x = min.cutoff)) {