Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we get all genes in a pathway listed in cellchat@netP$pathways? #268

Open
Chrisdoan9 opened this issue Dec 3, 2024 · 2 comments
Open

Comments

@Chrisdoan9
Copy link

Chrisdoan9 commented Dec 3, 2024

Hi all,

When we run cellchat, cellchat@netP$pathways will list all signaling detected in the dataset. If we interested in a signaling, could we get all the genes related to this signal? As I understand, a pathway should include many genes.

all_pathways <- CellChatDB$interaction
all_pathways[all_pathways$pathway_name == "abc", ]

will give more information (ligand, receptor) of abc signal but not give us all the genes related to this signal. Thank you so much!

@sqjin
Copy link
Member

sqjin commented Dec 12, 2024

@Chrisdoan9 netAnalysis_contribution, extractEnrichedLR. Try these two functions. Please check our full tutorial.

@Chrisdoan9
Copy link
Author

Chrisdoan9 commented Dec 12, 2024

Hi @sqjin, I tried the two functions above. It gave me list of ligand receptor genes, but not genes name involve in a pathway. I read figure 2 of the cellchat paper and a pathway such as TGFb, so I understand pathway in this case only has two kind genes: ligand gene and receptor gene. But not many gene such as pathway COULOUARN_TEMPORAL_TGFB1_SIGNATURE_UP: AFP, ALS2, AMD1, ARHGAP29, ASNS, BCL2L14, etc.

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

No branches or pull requests

2 participants