diff --git a/R/utils.R b/R/utils.R index 77e671c1..2e02dcfb 100644 --- a/R/utils.R +++ b/R/utils.R @@ -198,7 +198,7 @@ is_seurat_or_se_object <- function(obj) { } else if (is_se_object(sc)){ meta <- data.frame(colData(sc)) rownames(meta) <- sc@colData@rownames - clu <- which(colnames(meta) == "ident") + clu <- which(colnames(meta) == "label") # as set by colLabels() colnames(meta)[clu] <- "ident" } else { stop("Object indicated is not of class 'Seurat' or