Skip to content

Commit

Permalink
fix documentation of reduceSimMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ssayols committed Oct 17, 2023
1 parent 1be7c61 commit a75afc9
Show file tree
Hide file tree
Showing 30 changed files with 99 additions and 82 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rrvgo
Type: Package
Title: Reduce + Visualize GO
Version: 1.13.1
Version: 1.13.2
Authors@R: c(person("Sergi", "Sayols", email = "[email protected]", role = c("aut", "cre")), person("Sara", "Elmeligy", role = "ctb"))
Description: Reduce and visualize lists of Gene Ontology terms by identifying redudance based on semantic similarity.
URL: https://www.bioconductor.org/packages/rrvgo, https://ssayols.github.io/rrvgo/index.html
Expand Down
8 changes: 5 additions & 3 deletions R/rrvgo.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,17 @@ calculateSimMatrix <- function(x,
#' Reduce a set of GO terms based on their semantic similarity and scores.
#'
#' @details
#' Remove terms with a similarity below `threshold`. Decide which term
#' remains based on a score. If no score is provided, then decide based on the
#' "uniqueness" or the term "size".
#'
#' Currently, rrvgo uses the similarity between pairs of terms to compute a
#' distance matrix, defined as (1-simMatrix). The terms are then hierarchically
#' clustered using complete linkage, and the tree is cut at the desired threshold,
#' picking the term with the highest score as the representative of each group.
#'
#' Therefore, higher thresholds lead to fewer groups, and the threshold should be
#' read as the expected similarity of terms within a group (though this is not
#' entirely correct, and you'll see similarities below this threshold being put in
#' the same group).
#' read as the minimum similarity between group representatives.
#'
#' @param simMatrix a (square) similarity matrix
#' @param scores one of c("uniqueness", "size"), or a *named* vector with scores
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

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

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

2 changes: 1 addition & 1 deletion docs/articles/index.html

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

89 changes: 48 additions & 41 deletions docs/articles/rrvgo.html

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

Binary file modified docs/articles/rrvgo_files/figure-html/unnamed-chunk-4-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/rrvgo_files/figure-html/unnamed-chunk-6-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/authors.html

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

2 changes: 1 addition & 1 deletion docs/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
rrvgo: rrvgo.html
last_built: 2023-09-06T20:29Z
last_built: 2023-10-17T11:11Z

Binary file modified docs/reference/Rplot001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/calculateSimMatrix.html

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

2 changes: 1 addition & 1 deletion docs/reference/getGoSize.html

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

2 changes: 1 addition & 1 deletion docs/reference/getGoTerm.html

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

2 changes: 1 addition & 1 deletion docs/reference/getTermDisp.html

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

2 changes: 1 addition & 1 deletion docs/reference/getTermUniq.html

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

2 changes: 1 addition & 1 deletion docs/reference/gg_color_hue.html

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

2 changes: 1 addition & 1 deletion docs/reference/heatmapPlot.html

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

2 changes: 1 addition & 1 deletion docs/reference/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/loadOrgdb.html

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

11 changes: 6 additions & 5 deletions docs/reference/reduceSimMatrix.html

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

Binary file modified docs/reference/scatterPlot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a75afc9

Please sign in to comment.