Skip to content

Commit

Permalink
Generalised to Idents
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingKaiser committed Jun 13, 2024
1 parent 89a39c4 commit 7e6b6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/app-ScSeuratCombine.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ezMethodScSeuratCombine = function(input=NA, output=NA, param=NA, htmlFile="00in
dplyr::filter(Sample == sm)
labelMap <- as.character(clusterAnno$ClusterLabel)
names(labelMap) <- as.character(clusterAnno$Cluster)
scData$stacasLabelColumn <- unname(labelMap[as.character(scData$seurat_clusters)])
scData$stacasLabelColumn <- unname(labelMap[as.character(Idents(scData))])
}
# Also add the other factors in the input dataset to the objects
if (ezIsSpecified(param$additionalFactors)) {
Expand Down

0 comments on commit 7e6b6dd

Please sign in to comment.