Skip to content

Commit

Permalink
update documentation and tests to reflect filtering of links
Browse files Browse the repository at this point in the history
  • Loading branch information
bengalengel committed Jan 29, 2024
1 parent 9449d9d commit 0d3f8b2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* limit links returned from `getEnrichmentsNetwork` to those with overlap coefficient <= .1

# 1.13.17

* The release tarball includes version 1.9.0 of the web app
Expand Down
2 changes: 1 addition & 1 deletion R/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ getEnrichmentsTable <- function(study, modelID, annotationID, type = "nominal",
#' \item{nodes}{(data frame) The description of each annotation term (i.e.
#' node). The nominal and adjusted p-values are in list-columns.}
#' \item{links}{(list) The statistics for each pairwise overlap between the
#' annotation terms (i.e. nodes)}
#' annotation terms (i.e. nodes). This list is filtered to all links where overlap coefficient >= .1.}
#'
#' @importFrom data.table ":=" "%chin%" .N
#' @export
Expand Down
2 changes: 1 addition & 1 deletion inst/tinytest/testApp.R
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ if (getRversion() >= "3.6.0") {

expect_identical_xl(
dim(enrichmentsNetwork[["links"]]),
as.integer(c(1020, 6))
as.integer(c(944, 6))
)

link1 <- structure(
Expand Down
2 changes: 1 addition & 1 deletion man/getEnrichmentsNetwork.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d3f8b2

Please sign in to comment.