Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Jun 15, 2024
1 parent 9cc2899 commit 3352352
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/dplyr-group_by.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

##' @method group_by enrichResult
##' @export
group_by.enrichResult <- function(.data, ..., add = FALSE, .drop = FALSE) {
group_by.enrichResult <- function(.data, ..., .add = FALSE, .drop = FALSE) {
dots <- quos(...)
.data@result %<>% group_by(!!!dots, add = add, .drop = .drop)
.data@result %<>% group_by(!!!dots, .add = .add, .drop = .drop)
return(.data)
}

Expand All @@ -14,8 +14,8 @@ group_by.gseaResult <- group_by.enrichResult

##' @method group_by compareClusterResult
##' @export
group_by.compareClusterResult <- function(.data, ..., add = FALSE, .drop = FALSE) {
group_by.compareClusterResult <- function(.data, ..., .add = FALSE, .drop = FALSE) {
dots <- quos(...)
.data@compareClusterResult %<>% group_by(!!!dots, add = add, .drop = .drop)
.data@compareClusterResult %<>% group_by(!!!dots, .add = .add, .drop = .drop)
return(.data)
}

0 comments on commit 3352352

Please sign in to comment.