Skip to content

Commit

Permalink
Update pathwayCommons.R
Browse files Browse the repository at this point in the history
  • Loading branch information
Jigyasa-G authored Jul 24, 2023
1 parent a1dbc97 commit bfa57bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/pathwayCommons.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##' @return A \code{enrichResult} instance
##' @export

enrichPC <- function(gene, organism, ...) {
enrichPC <- function(gene, source, ...) {
pcdata <- prepare_PC_data(organism)
res <- enricher(gene,
TERM2GENE = pcdata$PCID2GENE,
Expand All @@ -32,7 +32,7 @@ enrichPC <- function(gene, organism, ...) {
##' @param ... additional parameters, see also the parameters supported by the GSEA() function
##' @return A \code{gseaResult} instance
##' @export
gsePC <- function(geneList, organism, ...) {
gsePC <- function(geneList, source, ...) {
pcdata <- prepare_PC_data(organism)
res <- GSEA(geneList,
TERM2GENE = pcdata$PCID2GENE,
Expand Down

0 comments on commit bfa57bc

Please sign in to comment.