Skip to content

Commit

Permalink
replace deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
egeulgen committed Feb 15, 2025
1 parent 598d99a commit dd17c7e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions R/data_generation.R
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ get_reactome_gsets <- function() {
#' Retrieve Organism-specific MSigDB Gene Sets
#'
#' @param species species name, such as Homo sapiens, Mus musculus, etc.
#' See \code{\link[msigdbr]{msigdbr_show_species}} for all the species available in
#' See \code{\link[msigdbr]{msigdbr_species}} for all the species available in
#' the msigdbr package
#' @param collection collection. i.e., H, C1, C2, C3, C4, C5, C6, C7.
#' @param subcollection sub-collection, such as CGP, BP, etc. (default = NULL,
Expand Down Expand Up @@ -288,7 +288,7 @@ get_mgsigdb_gsets <- function(species = "Homo sapiens", collection, subcollectio
#' @param org_code (Used for 'KEGG' only) KEGG organism code for the selected organism. For a full list
#' of all available organisms, see \url{https://www.genome.jp/kegg/catalog/org_list.html}
#' @param species (Used for 'MSigDB' only) species name, such as Homo sapiens, Mus musculus, etc.
#' See \code{\link[msigdbr]{msigdbr_show_species}} for all the species available in
#' See \code{\link[msigdbr]{msigdbr_species}} for all the species available in
#' the msigdbr package (default = 'Homo sapiens')
#' @param collection (Used for 'MSigDB' only) collection. i.e., H, C1, C2, C3, C4, C5, C6, C7.
#' @param subcollection (Used for 'MSigDB' only) sub-collection, such as CGP, MIR, BP, etc. (default = NULL,
Expand All @@ -299,7 +299,7 @@ get_mgsigdb_gsets <- function(species = "Homo sapiens", collection, subcollectio
#' \item{descriptions - A named vector containing the descriptions for each gene set}
#' }. For 'KEGG' and 'MSigDB', it is possible to choose a specific organism. For a full list
#' of all available KEGG organisms, see \url{https://www.genome.jp/kegg/catalog/org_list.html}.
#' See \code{\link[msigdbr]{msigdbr_show_species}} for all the species available in
#' See \code{\link[msigdbr]{msigdbr_species}} for all the species available in
#' the msigdbr package used for obtaining 'MSigDB' gene sets.
#' For Reactome, there is only one collection of pathway gene sets.
#' @export
Expand Down
4 changes: 2 additions & 2 deletions man/get_gene_sets_list.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_mgsigdb_gsets.Rd

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

4 changes: 2 additions & 2 deletions vignettes/obtain_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ gsets_list <- get_gene_sets_list(
```

```{r, eval=TRUE}
## see msigdbr::msigdbr_show_species() for all available organisms
msigdbr::msigdbr_show_species()
## see msigdbr::msigdbr_species() for all available organisms
msigdbr::msigdbr_species()
```

You may also obtain the gene sets for a subcollection by setting the `subcollection` argument:
Expand Down

0 comments on commit dd17c7e

Please sign in to comment.