Skip to content

Commit

Permalink
fix subset
Browse files Browse the repository at this point in the history
  • Loading branch information
Gesmira committed Oct 20, 2023
1 parent 847e4dc commit a4c6f71
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions R/preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit a4c6f71

Please sign in to comment.