Skip to content

Commit 7e6b6dd

Browse files
committed
Generalised to Idents
1 parent 89a39c4 commit 7e6b6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/app-ScSeuratCombine.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ ezMethodScSeuratCombine = function(input=NA, output=NA, param=NA, htmlFile="00in
135135
dplyr::filter(Sample == sm)
136136
labelMap <- as.character(clusterAnno$ClusterLabel)
137137
names(labelMap) <- as.character(clusterAnno$Cluster)
138-
scData$stacasLabelColumn <- unname(labelMap[as.character(scData$seurat_clusters)])
138+
scData$stacasLabelColumn <- unname(labelMap[as.character(Idents(scData))])
139139
}
140140
# Also add the other factors in the input dataset to the objects
141141
if (ezIsSpecified(param$additionalFactors)) {

0 commit comments

Comments
 (0)