Skip to content

Commit 16e9682

Browse files
committed
Handle missing values
1 parent c83a8e9 commit 16e9682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlecell/resources/chunks/FindClustersAndDimRedux.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ for (datasetId in names(seuratObjects)) {
1919
printName(datasetId)
2020
seuratObj <- readSeuratRDS(seuratObjects[[datasetId]])
2121

22-
if (all(is.null(clusterResolutions))) {
22+
if (all(is.null(clusterResolutions)) || clusterResolutions == '') {
2323
clusterResolutions <- c(0.2, 0.4, 0.6, 0.8, 1.2)
2424
} else if (is.character(clusterResolutions)) {
2525
clusterResolutionsOrig <- clusterResolutions

0 commit comments

Comments
 (0)