R/dplyr-arrange.R

Defines functions arrange.compareClusterResult arrange.enrichResult

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

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


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

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.