EDePasquale / DoubletDecon

A tool for removing doublets from single-cell RNA-seq data
69 stars 19 forks source link

dplyr loading issues #12

Closed chansigit closed 4 years ago

chansigit commented 4 years ago

It took me half an hour to run the Improved_Seurat_Pre_Process function , only to find the function stopped at the last step, telling me I should load the dplyr library.

Could you please load this package in your function when it starts to calculate?

Calculating cluster 0
Calculating cluster 1
Calculating cluster 2
Calculating cluster 3
Calculating cluster 4
Calculating cluster 5
Calculating cluster 6
Calculating cluster 7
Calculating cluster 8
Calculating cluster 9
Calculating cluster 10
Calculating cluster 11
Calculating cluster 12
Calculating cluster 13
Calculating cluster 14
Calculating cluster 15
Calculating cluster 16
Calculating cluster 17
Calculating cluster 18
Calculating cluster 19
Calculating cluster 20
Warning message:
"The following arguments are not used: thresh.use"
Error in seuratObject.markers %>% group_by(cluster) %>% top_n(n = num_genes, : could not find function "%>%"
Traceback:

1. Improved_Seurat_Pre_Process(seu_doublet, num_genes = 50, write_files = FALSE)
EDePasquale commented 4 years ago

Hi,

Thank you for bringing this to our attention! We will incorporate this into the beginning of the function in the next update so it should no longer be a problem.

Thanks, Erica