Skip to content

Commit

Permalink
Fix PercentageFeatureSet
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-h authored Mar 20, 2024
1 parent c54e57d commit 3a698b1
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, search = "counts")
layers <- Layers(object = object, search = "counts", assay = assay)
for (i in seq_along(along.with = layers)) {
layer <- layers[i]
features.layer <- features %||% grep(
Expand Down

0 comments on commit 3a698b1

Please sign in to comment.