Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
suzannejin committed Apr 16, 2024
1 parent e6e2355 commit 81cc62c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## propr 5.0.4
---------------------
* Added fixseed option for runGraflex
* Fix bug: NAs produced by integer overflow in getOR

## propr 5.0.3
---------------------
* Added fixseed option for updatePermutes
Expand Down
3 changes: 0 additions & 3 deletions R/2d-propd-graflex.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ binTab <- function(A, G) {
#' This function calculates the overlap between
#' two vectors or two adjacency matrices.
#' It returns the OR as well as other metrics.
#' @inheritParams binTab
#' @return A \code{data.frame} of results.
getOR <- function(A, G) {
tab <- binTab(A, G)
Expand All @@ -75,7 +74,6 @@ getOR <- function(A, G) {
#'
#' Note that this function calculates overlap for the
#' lower-left triangle of the input matrices.
#' @inheritParams permuteOR
calculateOR <- function(A, G) {
Astar <- A[lower.tri(A)]
Gstar <- G[lower.tri(G)]
Expand Down Expand Up @@ -109,7 +107,6 @@ getFDR <- function(actual, permuted) {
#' false discovery rate (FDR) by counting the number of
#' times the actual OR was greater than
#' (or less than) a permuted OR.
#' @inheritParams permuteOR
#' @param A An adjacency matrix.
#' @param K A knowledge database where each row is a graph node
#' and each column is a concept.
Expand Down
3 changes: 0 additions & 3 deletions man/calculateOR.Rd

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

3 changes: 0 additions & 3 deletions man/getOR.Rd

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

5 changes: 4 additions & 1 deletion man/permuteOR.Rd

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

5 changes: 4 additions & 1 deletion man/runGraflex.Rd

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

0 comments on commit 81cc62c

Please sign in to comment.