saezlab / liana

LIANA: a LIgand-receptor ANalysis frAmework
https://saezlab.github.io/liana/
GNU General Public License v3.0
176 stars 31 forks source link

Running Liana on Mouse single cell #135

Closed PolSabt closed 8 months ago

PolSabt commented 8 months ago

Hi ! Thanks a lot for this package.

The tutorial when well, but I wanted to use it on a murin Seurat Object, not error came out of the Run part but the following code:

# Run liana
testdata=MyseuratObject
liana_test <- liana_wrap(testdata)

# Liana returns a list of results, each element of which corresponds to a method
liana_test %>% dplyr::glimpse()

Give me a weird [ligands / receptors] information F10/F3 .... instead of genes names

..... ..$ ligand.complex : chr [1:75] "F10" "F10" "F10" "F10" ... ..$ ligand : chr [1:75] "F10" "F10" "F10" "F10" ... ..$ receptor.complex: chr [1:75] "F3" "F3" "F3" "F3" ... ..$ receptor : chr [1:75] "F3" "F3" "F3" "F3" ...

Could it be because of mice "gene symbol" ? Do I need to pass through a human conversion ? Or should I just run some specify database/packages for mice and not all of them ?

Appreciate your help P

dbdimitrov commented 8 months ago

Hi @PolSabt,

You should specify the resource parameter to: 'MouseConsensus'. It should work then :)

PolSabt commented 8 months ago

Hi @dbdimitrov,

Works perfectly !

Thanks a lot :)