Skip to content

Commit 05ee111

Browse files
committed
fixed GSEAResult to no longer require upper, lower
1 parent 4894e66 commit 05ee111

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

R/GSEAResult.R

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ NULL
55
#'
66
#' @param results tbl_df A tibble with the results from fgsea
77
#' @param pathways list A list of vectors with gene sets
8-
#' @param lower numeric Lower threshold for down-regulated genes
9-
#' @param upper numeric Upper threshold for up-regulated genes
108
#' @param alpha numeric Alpha level of significance
119
#' @param upreg tbl_df A tibble of up-regulated genes
1210
#' @param downreg tbl_df A tibble of down-regulated genes
@@ -20,11 +18,9 @@ NULL
2018
#'
2119
#' @examples
2220
#' TRUE
23-
GSEAResult <- function(results, pathways, lower, upper, alpha, upreg, downreg, useFDR) {
21+
GSEAResult <- function(results, pathways, alpha, upreg, downreg, useFDR) {
2422

2523
alpha <- alpha
26-
threshold_up <- upper
27-
threshold_down <- lower
2824
upregulated_genes <- upreg
2925
downregulated_genes <- downreg
3026

@@ -75,8 +71,6 @@ GSEAResult <- function(results, pathways, lower, upper, alpha, upreg, downreg, u
7571
g <- new("GSEAResult",
7672
alpha = alpha,
7773
pathways = pathways,
78-
threshold_up = threshold_up,
79-
threshold_down = threshold_down,
8074
upregulated_genes = upregulated_genes,
8175
downregulated_genes = downregulated_genes,
8276
pos_enriched = pos_enriched,

0 commit comments

Comments
 (0)