Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

netMappingDEG error #698

Open
vasikara17 opened this issue Sep 20, 2023 · 4 comments
Open

netMappingDEG error #698

vasikara17 opened this issue Sep 20, 2023 · 4 comments

Comments

@vasikara17
Copy link

Hello,
thank you for a really useful tool! I wanted to do a comparison and between my two conditions.
I am using the part your vignette: Identify dysfunctional signaling by using differential expression analysis
Here is the code and the error:
cellchat <- identifyOverExpressedGenes(cellchat, group.dataset = "sample",
pos.dataset = pos.dataset, features.name = features.name,
only.pos = FALSE, thresh.pc = 0.1, thresh.fc = 0.1, thresh.p = 1)
net <- netMappingDEG(cellchat,features.name = features.name)
net <- netMappingDEG(cellchat,features.name = features.name)
Error in [[<-.data.frame(*tmp*, ii, value = list(11L, 11L, 11L, 11L, :
replacement has 1330 rows, data has 1329
I cannot identify where this is coming from. I would appreciate your feedback on that.
Thank you in advance

@kaizen89
Copy link

kaizen89 commented Jan 12, 2024

I have the exact same error

net = netMappingDEG(cellchat, features.name = "features",thresh = 0.05)
Error in `[[<-.data.frame`(`*tmp*`, ii, value = list(1L, 2L, 3L, 4L, 5L,  : 
  replacement has 5167 rows, data has 5166

@sqjin
Copy link
Owner

sqjin commented Jan 13, 2024

@kaizen89 If you can share a cellchat object that can replicate your error, then I can test it.

@kaizen89
Copy link

kaizen89 commented Jan 15, 2024

@sqjin sure. Here's the object: link
Thanks

@sqjin
Copy link
Owner

sqjin commented Jan 22, 2024

@kaizen89 Sorry for the late. This issue has been fixed now. Please reinstall it by following https://github.com/jinworks/CellChat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants