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

Potential namespace conflict with the `summarise` function #73

Open Huangy57 opened 2 months ago

Huangy57 commented 2 months ago

I noticed a potential namespace conflict with the summarise function. The code snippet below highlights where the conflict occurs: abundance_df_summarized = abundance_df %>% mutate(keep = as.logical(keep)) %>% group_by(group_id, celltype_id) %>% summarise(samples_present = sum(keep))

To improve compatibility and avoid namespace conflicts, I suggest explicitly adding the dplyr namespace in front of summarise