liana icon indicating copy to clipboard operation
liana copied to clipboard

liana_tensor_c2c Errors

Open mainharryHR opened this issue 1 year ago • 1 comments

Dear everyone,

Thanks for great package. I am following the tutorial https://saezlab.github.io/liana/articles/liana_cc2tensor.html, But I encountered errors. My gut feeling is that this error might be related to the names between arguments. After rename, there is another errors:

Building the tensor using LRs... Error in py_call_impl(callable, call_args$unnamed, call_args$named) : ValueError: Columns must be same length as key

Please help to figure out. Thank you all:)

sce <- liana_tensor_c2c(sce = Sce, score_col = 'LRscore', rank = NULL, how='outer', conda_env = NULL, use_available = FALSE )

Error in py_call_impl(callable, call_args$unnamed, call_args$named) : ValueError: Expected a 1D array, got an array with shape (0, 5)

reticulate::py_last_error() KeyError: 'LRs'

mainharryHR avatar Jun 26 '24 15:06 mainharryHR

Perhaps, it's best if you follow the notebook I referred you to in the other issue. It seems here that there might be some issue with the liana results stored in the sce object.

Let me know if following the other notebook fixes the issue.

Best wishes, Daniel

dbdimitrov avatar Jul 01 '24 06:07 dbdimitrov