Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 28, 2025
1 parent 7b55e3b commit 82dc613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/evaluate-clusters.R
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ calculate_cell_cluster_metrics <- function(x,
# Check input arguments
stopifnot(
"`cluster_results` must be a list containing data.frames" =
is.list(cluster_results) && all(sapply(cluster_results, is.data.frame)),
is.list(cluster_results) && all(sapply(cluster_results, is.data.frame)),
" Cluster `evals` that are supported are only 'purity' and 'silhouette'" =
all(metrics %in% supported_evals)
)
Expand Down

0 comments on commit 82dc613

Please sign in to comment.