I'm wondering how to generate homologs with a custom dictionary because I encountered the following error when using generate_homologs() with the example dictionary provided in the vignettes:
symbols_dict <- readRDS(file.path(liana_path, "human_mouse_orthologues.RDS"))
head(symbols_dict)
op_resource <- select_resource(resource)[[1]]
ortholog_resource <- generate_homologs(op_resource = op_resource,
target_organism = "test_mouse",
symbols_dict = symbols_dict)
One-to-many homolog matches:
Error in `mutate()`:
ℹ In argument: `across(all_of(columns), ~recode.character2(.x, .missing_fun = .missing_fun))`.
Caused by error in `across()`:
! Can't compute column `source_genesymbol`.
Caused by error in `recode.character2()`:
! No replacements provided.
Run `rlang::last_trace()` to see where the error occurred.
Hi!
I'm wondering how to generate homologs with a custom dictionary because I encountered the following error when using
generate_homologs()
with the example dictionary provided in the vignettes:Could you please give me some help? Thanks a lot!
Best wishes,
Xinru