Skip to content

Commit

Permalink
Fixed vignette error
Browse files Browse the repository at this point in the history
  • Loading branch information
PauBadiaM committed Feb 20, 2024
2 parents b75a014 + 87fe87e commit 6587d58
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.8.1
current_version = 2.8.2
commit = True
tag = True
files = DESCRIPTION
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ jobs:
any::pkgdown
any::rcmdcheck
any::BiocCheck
git::https://github.com/saezlab/OmnipathR
upgrade: "TRUE"

- name: Set BiocVersion
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: decoupleR
Title: decoupleR: Ensemble of computational methods to infer biological activities from omics data
Version: 2.8.1
Version: 2.8.2
Authors@R:
c(person(given = "Pau",
family = "Badia-i-Mompel",
Expand Down
7 changes: 3 additions & 4 deletions R/utils-omnipath.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' factors (TFs) and their target genes. Each interaction is weighted by its
#' mode of regulation (either positive or negative) and by its confidence level
#'
#' @param organism Which organism to use. Only human and mouse are available.
#' @param organism Which organism to use. Only human, mouse and rat are available.
#' @param levels List of confidence levels to return. Goes from A to D, A
#' being the most confident and D being the less.
#' @param weight_dict Dictionary of values to divide the mode of regulation
Expand Down Expand Up @@ -81,7 +81,7 @@ get_dorothea <- function(organism='human', levels=c('A', 'B', 'C'),
#' factors (TFs) and their target genes. It is an expansion of DoRothEA.
#' Each interaction is weighted by its mode of regulation (either positive or negative).
#'
#' @param organism Which organism to use. Only human and mouse are available.
#' @param organism Which organism to use. Only human, mouse and rat are available.
#' @param split_complexes Whether to split complexes into subunits. By default
#' complexes are kept as they are.
#' @param ... Ignored.
Expand Down Expand Up @@ -315,8 +315,7 @@ get_progeny <- function(organism='human', top=500){
}) %>%
dplyr::bind_rows() %>%
dplyr::select(pathway, genesymbol, weight, p_value) %>%
rlang::set_names(c('source', 'target', 'weight', 'p_value')) %>%

rlang::set_names(c('source', 'target', 'weight', 'p_value'))
return(p)
}

Expand Down
2 changes: 1 addition & 1 deletion man/get_collectri.Rd

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

2 changes: 1 addition & 1 deletion man/get_dorothea.Rd

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

6 changes: 1 addition & 5 deletions man/run_fgsea.Rd

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

0 comments on commit 6587d58

Please sign in to comment.