Skip to content

Commit 811f2af

Browse files
committed
Improve logic for HTO filtering
1 parent b786ebe commit 811f2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlecell/resources/chunks/CommonFilters.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ for (datasetId in names(seuratObjects)) {
9696
}
9797

9898
tryCatch({
99-
cells <- Seurat::WhichCells(seuratObj, expression = HTO.Classification!='ND' & HTO.Classification!='Discordant' & HTO.Classification!='Doublet')
99+
cells <- Seurat::WhichCells(seuratObj, expression = HTO.Classification!='ND' & HTO.Classification!='Discordant' & HTO.Classification!='Doublet' & HTO.Classification!='Low Counts')
100100
if (length(cells) == 0) {
101101
print(paste0('There were no cells remaining after dropping cells without hashing'))
102102
seuratObj <- NULL

0 commit comments

Comments
 (0)