saezlab / liana

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

Default dataset for resources is null #90

Closed PoGibas closed 1 year ago

PoGibas commented 1 year ago

Default dataset stored in omni_resources.RDS seems to be empty while all other resources are data.frames with expected connections.

omni_resources <- readRDS(system.file(package = 'liana', "omni_resources.rds"))
lapply(omni_resources, is.null)

Is it a mistake or is such behavior expected and there is a reason for such empty dataset?

dbdimitrov commented 1 year ago

Hi @PoGibas,

It's intentional, back when liana was mainly calling external tool this was a way to get the Default resource for each.