Closed beigelk closed 8 months ago
Hi @beigelk
You can find the code for this specific filtering step, and all the other code we used to create the NicheNet-v2 LR network on this Zenodo page: https://zenodo.org/records/8016880
This code is already more than a year old, so I hope OmnipathR has not changed too much since then.
Oh, that's fantastic! Thank you so much @browaeysrobin!
Hello! I have a question about the model in NicheNet-v2, specifically how the databases from OmniPath were processed/filtered when getting ligand-receptor interactions (for the NicheNet-v2
lr_network
). Based on the Supplementary Note 1 from the MultiNicheNet preprint, I see that in the NicheNet-v2 model there has been some filtering of OmniPath's intercell database that is used in NicheNet-v2'slr_network
.Purpose of doing this: I ran a NicheNet analysis and have some ligand-receptor interactions I would like to further explore. My interactions of interest happened to all be from OmniPath. I would like to be able to see the data sources (databases, literature citations, etc.) that OmniPath has for these interactions. I know how to do this in OmniPath/OmnipathR generally speaking, but I'd like to be able to specifically see the data sources in OmniPath that are actually used in NicheNet-v2 (vs. those that may be filtered out).
My problem: I am struggling with a few of the filtering steps of the OmniPath intercell database. I think this is due to my lack of experience rather than the description so I could use some guidance.
Progress so far: I am trying to recreate these steps listed in Supplementary Note 1 in my code. I'm breaking down the steps here to try to follow them correctly:
I think I undestand "proteins that are secreted but not annotated as 'transmitter'" (
omnipath_intercell %>% filter(secreted == TRUE & transmitter == FALSE)
), but how is the filtering for the consensus score done?I see that there is a consensus score but what field(s) should I be looking at for secreted vs. "intracellular"?
Hopefully this isn't too tedious of a question. Also apologies if this code for filtering OmniPath data is available somewhere and I just couldn't find it! Thanks for your time and for developing such a great tool!