Skip to content

Commit

Permalink
preparing data using source
Browse files Browse the repository at this point in the history
  • Loading branch information
Jigyasa-G authored Jul 24, 2023
1 parent bfa57bc commit d48812a
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 @@ -9,7 +9,7 @@
##' @export

enrichPC <- function(gene, source, ...) {
pcdata <- prepare_PC_data(organism)
pcdata <- prepare_PC_data(source)
res <- enricher(gene,
TERM2GENE = pcdata$PCID2GENE,
TERM2NAME = pcdata$PCID2NAME,
Expand All @@ -33,7 +33,7 @@ enrichPC <- function(gene, source, ...) {
##' @return A \code{gseaResult} instance
##' @export
gsePC <- function(geneList, source, ...) {
pcdata <- prepare_PC_data(organism)
pcdata <- prepare_PC_data(source)
res <- GSEA(geneList,
TERM2GENE = pcdata$PCID2GENE,
TERM2NAME = pcdata$PCID2NAME,
Expand Down

0 comments on commit d48812a

Please sign in to comment.