R/dplyr-summarise.R

Defines functions summarise.compareClusterResult summarise.enrichResult

##' @method summarise enrichResult
##' @export
summarise.enrichResult <- function(.data, ...) {
    dots <- quos(...)
    .data@result %>% summarise(!!!dots)
}


##' @method summarise gseaResult
##' @export
summarise.gseaResult <- summarise.enrichResult

##' @method summarise compareClusterResult
##' @export
summarise.compareClusterResult <- function(.data, ...) {
    dots <- quos(...)
    .data@compareClusterResult %>% summarise(!!!dots)
}

Try the clusterProfiler package in your browser

Any scripts or data that you put into this service are public.

clusterProfiler documentation built on Feb. 11, 2021, 2:02 a.m.