R/dplyr-select.R

Defines functions select.compareClusterResult select.enrichResult

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

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


##' @method select compareClusterResult
##' @export
select.compareClusterResult <- function(.data, ...) {
    dots <- quos(...)
    .data@compareClusterResult %<>% select(!!!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.