Open superman2412 opened 3 years ago
@sqjin Would be very grateful to you if you could shed some light upon this issue.
@superman2412 Have you checked https://github.com/saezlab/liana? I think the convert function they provided could solve your issue. If you still have some issues, you can directly contact the first author of liana
@sqjin Thank you for your response. Unfortunately, that facility is not available in Omnipath / LIANA at this stage. More information can be obtained by the developers of Omnipath / LIANA on the following link.
https://github.com/saezlab/OmnipathR/issues/28#issuecomment-898859017
Hello again Dr. Jin @sqjin!
Hope you are doing well. I was wondering if you could help me update CellChatDB by adding ligand-receptor pairs using data from OmniPath?
OmniPath contains a remarkably high number of, manually curated, high quality interactions that will increase the quality of CellChatDB significantly. I have attached the data here below.
all_interactions.csv
I did come across a function to be able to add Omnipath data to CellChat using the function in this post: https://github.com/saezlab/OmnipathR/issues/28#issuecomment-830045576.
The function is:
`#' Helper Function to Format to CellChatDB
' @param ccDB Inbuilt cellchatDB object
' @param op_resource omnipath resource
' @param exclude_anns annotations to exclude
' @import tibble
' @importFrom magrittr %>%
' @importFrom stringr str_glue str_detect str_replace str_replace_all
cellchat_formatDB <- function(ccDB, op_resource, exclude_anns){
get complexes and interactions from omnipath
However, I just cannot seem to implement it, probably because it is outdated and not compatible with the current version of OmniPath. After running the function it always gives me the same output as CellChatDB, nothing gets updated.
Can you please help me add all the interactions from Omnipath to CellChatDB?
Adding OmniPath will not only increase the range of interactions that CellChat can detect but this will immensely useful to the whole research community!