We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2dfbd0 commit ecb43ecCopy full SHA for ecb43ec
singlecell/resources/chunks/SubsetSeurat.R
@@ -2,6 +2,11 @@ for (datasetId in names(seuratObjects)) {
2
seuratObj <- seuratObjects[[datasetId]]
3
seuratObjects[[datasetId]] <- NULL
4
5
+ #TODO: this is a stopgap for a former bug in RunCellHashing. Retain until all existing seurat objects lacking this field are removed
6
+ if (!'HTO.Classification' %in% names(seuratObj@meta.data) && 'consensuscall.global' %in% names(seuratObj@meta.data)) {
7
+ seuratObj$HTO.Classification <- seuratObj$consensuscall.global
8
+ }
9
+
10
<SUBSETS>
11
12
newSeuratObjects[[datasetId]] <- seuratObj
0 commit comments