Skip to content

Commit

Permalink
swap pattern > search
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-marsh committed Nov 13, 2023
1 parent 3faa0e6 commit d2f4680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ PercentageFeatureSet <- function(
warn(message = "Both pattern and features provided. Pattern is being ignored.")
}
percent.featureset <- list()
layers <- Layers(object = object, pattern = "counts")
layers <- Layers(object = object, search = "counts")
for (i in seq_along(along.with = layers)) {
layer <- layers[i]
features.layer <- features %||% grep(
Expand Down

0 comments on commit d2f4680

Please sign in to comment.