saeyslab / nichenetr

NicheNet: predict active ligand-target links between interacting cells
452 stars 113 forks source link

`assign_ligands_to_celltype` bug when there are no general ligands #276

Closed csangara closed 1 month ago

csangara commented 1 month ago

A similar error as #268 occurs when there are no general ligands:

Error in data.frame(ligand_type = "General", ligand = general_ligands) : 
  arguments imply differing number of rows: 1, 0