Error in UseMethod(generic = "JoinLayers", object = object) : no applicable method for 'JoinLayers' applied to an object of class "c('Assay', 'KeyMixin')" #261
hdWGCNA is a great job and I'm learning it, but I'm having some problems running the sample processes:seurat_obj <- MetacellsByGroups(
seurat_obj = seurat_obj,
group.by = c("cell_type", "Sample"), # specify the columns in seurat_obj@meta.data to group by
reduction = 'harmony', # select the dimensionality reduction to perform KNN on
k = 25, # nearest-neighbors parameter
max_shared = 10, # maximum number of shared cells between two metacells
ident.group = 'cell_type' # set the Idents of the metacell seurat object
)
Error in UseMethod(generic = "JoinLayers", object = object) :
no applicable method for 'JoinLayers' applied to an object of class "c('Assay', 'KeyMixin')"
In addition: Warning message:
In MetacellsByGroups(seurat_obj = seurat_obj, group.by = c("cell_type", :
Removing the following groups that did not meet min_cells: ASC#C4, MG#C2, MG#C3, MG#C4, ODC#C4, OPC#C12, OPC#C4, OPC#C9
The code part is exactly the code of the sample flow, I didn't make any modification, and my Seurat version is also 5.0, how should I solve this problem?
hdWGCNA is a great job and I'm learning it, but I'm having some problems running the sample processes:seurat_obj <- MetacellsByGroups(