Skip to content

Commit

Permalink
Setting explicitly the arguments accepted
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs committed Apr 10, 2018
1 parent 27552ef commit 2e659b2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: BioCor
Title: Functional similarities
Version: 1.3.2
Version: 1.3.3
Authors@R: c(person("Lluís", "Revilla Sancho",
email ="lluis.revilla@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-9747-2570")),
Expand Down
7 changes: 7 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
BioCor v1.3.3
============

Changes

* Add methods for GeneSetCollections

BioCor v1.1.12
============

Expand Down
3 changes: 2 additions & 1 deletion R/combineScores.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
#' d[1,2] <- NA
#' sapply(c("avg", "max", "rcmax", "rcmax.avg", "BMA", "reciprocal"),
#' combineScores, scores = d)
combineScores <- function(scores, method, round = FALSE, t = 0) {
combineScores <- function(scores, method = c("max", "avg", "rcmax", "rcmax.avg", "BMA",
"reciprocal"), round = FALSE, t = 0) {
# Check input
method <- match.arg(method,
c("avg", "max", "rcmax", "rcmax.avg", "BMA",
Expand Down
3 changes: 2 additions & 1 deletion man/combineScores.Rd

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

0 comments on commit 2e659b2

Please sign in to comment.