saeyslab / multinichenetr

MultiNicheNet: a flexible framework for differential cell-cell communication analysis from multi-sample multi-condition single-cell transcriptomics data
GNU General Public License v3.0
107 stars 14 forks source link

combine_sender_receiver_de Duplicate Function Causes Error #74

Open DarioS opened 2 months ago

DarioS commented 2 months ago

Depending on the order the analyst executes library(nichenetr) and library(multinichenetr),

> combine_sender_receiver_de(celltype_de, celltype_de, senders_oi, receivers_oi, lr_network)
Error in combine_sender_receiver_de(celltype_de, celltype_de, senders_oi,  : 
  unused argument (lr_network)

multinichenetr::combine_sender_receiver_de avoids the problem. But, it would not happen if function was in only one package.