![image](https://github.com/saeyslab/nichenetr/assets/17024850/d9c4813c-b74a-43e7-9e48-f359148485db)
2. Error when there are no ties
When ligand activities is instead defined as:
Error in filter():
ℹ In argument: ystart < cutoff.
Caused by error:
! object 'ystart' not found
Run rlang::last_trace() to see where the error occurred.
Two bugs discovered:
Get 20 random numbers
set.seed(0) potential_ligands <- c(paste0("ligand", sample(1:100, 20)))
nichenetr::make_line_plot(ligand_activities = ligand_activities, potential_ligands = potential_ligands)
ligand_activities <- data.frame(test_ligand = paste0("ligand", 1:100), rank = 1:100)
Error in
filter()
: ℹ In argument:ystart < cutoff
. Caused by error: ! object 'ystart' not found Runrlang::last_trace()
to see where the error occurred.