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

Significant interaction results between two cell types in df.net, but not in cellchat@net$count #227

Open
Chanele13 opened this issue Jun 21, 2021 · 2 comments

Comments

@Chanele13
Copy link

Screen Shot 2021-06-21 at 11 23 36 AM

Hi!

Could you please help me out with this problem:

I run the code "df.net <- subsetCommunication(cellchat, sources.use = c(35), targets.use = c(2))" and get the table attached to this post where there are some ligand-receptor interactions between my 2 sets of cells (35 and 2)

However, when I run this code "cellchat <- aggregateNet(cellchat, sources.use = c(35), targets.use=c(2), remove.isolate=F)" (with the same sources and targets as in the previous code), followed by this code "cellchat@net$count" this table gives me all 0 even for my cell type 35 and 2.

Why is that? Why do I not see any interactions?

Thanks!
Chanèle

@sqjin
Copy link
Owner

sqjin commented Jun 26, 2021

@Chanele13 There is no issue when I just tried it.

@Chanele13
Copy link
Author

Hi @sqjin Thanks for your answer.

Do you meant that the number of interactions that you see in the table that you get from "df.net" is the same that you get in the table from the code "cellchat@net$count"? Because me I get just a list of 0 as shown in the picture attached here (where the set of cells 35 is "term_not" and the set of cells 2 is "alveolar macrophages".

Any idea why that would be? Thanks!

Screen Shot 2021-06-29 at 2 02 50 PM

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

2 participants