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)
}
YuLab-SMU/clusterProfiler documentation built on Nov. 3, 2024, 9:38 p.m.