multinichenetr icon indicating copy to clipboard operation
multinichenetr copied to clipboard

Potential namespace conflict with the `summarise` function

Open Huangy57 opened this issue 1 year ago • 0 comments

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

Huangy57 avatar Jun 12 '24 18:06 Huangy57