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

Unable to aggregate Cell Chat output #164

Open
sfpacman opened this issue Jul 22, 2024 · 3 comments
Open

Unable to aggregate Cell Chat output #164

sfpacman opened this issue Jul 22, 2024 · 3 comments

Comments

@sfpacman
Copy link

I generated liana result from my single-cell dataset. However, I was unable to aggregate the CCC results if I included the cell chat output

The command used to generate liana result:
liana_res <- liana_wrap(sc_res, c('call_cellchat', "natmi", "connectome", "logfc", "sca", "cellphonedb"),idents_col ="final_cell_type")

Error Message:

> tmp <- liana_res %>% liana_aggregate()
Now aggregating call_cellchat
Now aggregating natmi
Now aggregating connectome
Now aggregating logfc
Now aggregating sca
Now aggregating cellphonedb
Aggregating Ranks
Error in `.rowNamesDF<-`(x, value = value) : 
  duplicate 'row.names' are not allowed
In addition: Warning messages:
1: In exec(output, ...) :
  Using internal and external methods should be done with caution!
2: non-unique values when setting 'row.names': ‘B1_B2⊎B1_B2⊎AMH⊎AMHR2’, ‘B1_B2⊎B1_B2⊎BMP2⊎BMPR1A’, ‘B1_B2⊎B1_B2⊎BMP2⊎BMPR1B’, ‘B1_B2⊎B1_B2⊎BMP2⊎BMPR2’, ‘B1_B2⊎B1_B2⊎BMP4⊎BMPR1A’, ‘B1_B2⊎B1_B2⊎BMP4⊎BMPR1B’, ‘B1_B2⊎B1_B2⊎BMP4⊎BMPR2’, ‘B1_B2⊎B1_B2⊎BMP6⊎ACVR1’, ‘B1_B2⊎B1_B2⊎BMP6⊎BMPR1A’, ‘B1_B2⊎B1_B2⊎BMP6⊎BMPR1B’, ‘B1_B2⊎B1_B2⊎BMP6⊎BMPR2’, ‘B1_B2⊎B1_B2⊎BMP7⊎ACVR1’, ‘B1_B2⊎B1_B2⊎BMP7⊎BMPR1A’, ‘B1_B2⊎B1_B2⊎BMP7⊎BMPR1B’, ‘B1_B2⊎B1_B2⊎BMP7⊎BMPR2’, ‘B1_B2⊎B1_B2⊎BMP8A⊎ACVR1’, ‘B1_B2⊎B1_B2⊎BMP8A⊎BMPR1A’, ‘B1_B2⊎B1_B2⊎BMP8A⊎BMPR1B’, ‘B1_B2⊎B1_B2⊎BMP8A⊎BMPR2’, ‘B1_B2⊎B1_B2⊎FN1⊎ITGAV’, ‘B1_B2⊎B1_B2⊎FN1⊎ITGB1’, ‘B1_B2⊎B1_B2⊎GDF11⊎ACVR1B’, ‘B1_B2⊎B1_B2⊎GDF3⊎ACVR1B’, ‘B1_B2⊎B1_B2⊎GDF3⊎ACVR1C’, ‘B1_B2⊎B1_B2⊎GDF9⊎BMPR2’, ‘B1_B2⊎B1_B2⊎LAMA1⊎ITGB1’, ‘B [... truncated] 

This is the screenshot for the cellchat result ( it seems that it missed several columns that are found in other CCC output)
image

@SChao58
Copy link

SChao58 commented Aug 5, 2024

I also have this issue, pls help

@dbdimitrov
Copy link
Collaborator

Hi,

This is likely related to perhaps using CellChatv2? I tried the latest version from the now archived CellChatv1 with which liana was designed to work with and it worked well.

Please try installing CellChat from https://github.com/sqjin/CellChat, and let me know if this works.

@SChao58
Copy link

SChao58 commented Aug 6, 2024

Hi Daniel, thank you so much for your time! I tried 1.0.0 and 1.5.0, both yielded the same error msg as sfpacman indicated above. I attached a preview of what the liana_test object looks like if that helps, and would be willing to provide other info.
Thanks again.

截屏2024-08-06 上午9 59 02

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

3 participants