Skip to content

Commit 391aa5e

Browse files
committed
Allow percent expressing to work on meta.data
1 parent 48fe1c9 commit 391aa5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/Statistics.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ Percent_Expressing <- function(
221221
assay <- assay %||% DefaultAssay(object = seurat_object)
222222

223223
# Check features exist in object
224-
features_list <- Feature_Present(data = seurat_object, features = features, print_msg = FALSE, case_check = TRUE, seurat_assay = assay)[[1]]
224+
features_list <- Feature_PreCheck(object = seurat_object, features = features)
225+
225226

226227
# Check group_by is in object
227228
if (!is.null(x = group.by) && group.by == "ident") {

0 commit comments

Comments
 (0)