File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
singlecell/resources/chunks Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ for (datasetId in names(seuratObjects)) {
1212 } else {
1313 # Add empty columns to keep objects consistent
1414 seuratObj $ HTO <- c(' NotUsed' )
15- seuratObj $ consensuscall.global <- c(' NotUsed' )
15+ seuratObj $ HTO.Classification <- c(' NotUsed' )
1616 }
1717
1818 newSeuratObjects [[datasetId ]] <- seuratObj
Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ for (datasetId in names(seuratObjects)) {
22 seuratObj <- seuratObjects [[datasetId ]]
33 seuratObjects [[datasetId ]] <- NULL
44
5+ # TODO: remove
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+
511 < SUBSETS >
612
713 newSeuratObjects [[datasetId ]] <- seuratObj
You can’t perform that action at this time.
0 commit comments