You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I Lift up cellChat object and merge together to create cellchat. When I want to "Identify the up-gulated and down-regulated signaling ligand-receptor pairs" following the guidance, I met the error:
> cellchat <- identifyOverExpressedGenes(cellchat, group.dataset = "datasets", pos.dataset = pos.dataset, features.name = features.name, only.pos = FALSE, thresh.pc = 0.1, thresh.fc = 0.05, thresh.p = 0.05, group.DE.combined = FALSE)
Use the joint cell labels from the merged CellChat object
Error in wilcoxauc.default(data.use.i, labels.i) :
Must have at least 2 groups defined.
I have checked the datasets parameter and confirmed that there are only 2 groups (e.g., "HC" and "PD"), but still encountering the error...How can I troubleshoot and fix the issue?
The text was updated successfully, but these errors were encountered:
@JosieCen Can you check if the variable cellchat@meta$datasets is a factor? I have no idea on this error. The best way to troubleshoot this is to run the source codes line by line.
I Lift up cellChat object and merge together to create cellchat. When I want to "Identify the up-gulated and down-regulated signaling ligand-receptor pairs" following the guidance, I met the error:
I have checked the datasets parameter and confirmed that there are only 2 groups (e.g., "HC" and "PD"), but still encountering the error...How can I troubleshoot and fix the issue?
The text was updated successfully, but these errors were encountered: