Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit cc8e38c

Browse files
committed
R CMD check
1 parent 64da74a commit cc8e38c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/query.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ group_to_sce <- function(i, df, dir_prefix, features) {
182182
cells <- colnames(sce) |> intersect(df$cell_)
183183

184184
if (length(cells) < nrow(df)){
185-
cli_alert_warning("Some cells were filtered out because of extremely low counts. The number of cells in the SingleCellExperiment wlil be less than the number of cells you have selected from the metadata.")
186-
df = filter(df, cell_ %in% cells)
185+
cli_alert_warning("Some cells were filtered out because of extremely low counts. The number of cells in the SingleCellExperiment will be less than the number of cells you have selected from the metadata.")
186+
df = filter(df, .data$cell_ %in% cells)
187187
}
188188
else if (length(cells) > nrow(df)){
189189
cli_abort("This should never happen")

0 commit comments

Comments
 (0)