Skip to content

Commit

Permalink
Merge pull request #1510 from Gesmira/seurat5
Browse files Browse the repository at this point in the history
Changing back to [[]] for feature-level metadata
  • Loading branch information
timoast authored Oct 23, 2023
2 parents 847e4dc + a4c6f71 commit b31a388
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 b31a388

Please sign in to comment.