File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,5 @@ Rplots.pdf
66inst /doc
77notebooks /spatial /data /
88notebooks /data /
9+ .vscode /mcp.json
10+ scplotter_presentation.pptx
Original file line number Diff line number Diff line change @@ -123,10 +123,10 @@ EnrichmentPlot <- function(
123123 if (! is.null(split_by ) || ! is.null(group_by ) || ! is.null(facet_by )) {
124124 data <- data %> %
125125 group_by(!!! syms(unique(c(split_by , group_by , facet_by )))) %> %
126- slice_min(!! sym(metric ), n = top_term ) %> %
126+ slice_min(!! sym(metric ), n = top_term , with_ties = FALSE ) %> %
127127 ungroup()
128128 } else {
129- data <- data %> % slice_min(!! sym(metric ), n = top_term )
129+ data <- data %> % slice_min(!! sym(metric ), n = top_term , with_ties = FALSE )
130130 }
131131
132132 # preprocessing
You can’t perform that action at this time.
0 commit comments