Skip to content

Commit

Permalink
Clean up documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
igordot committed Feb 15, 2025
1 parent 7bcb578 commit da283fe
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 40 deletions.
6 changes: 1 addition & 5 deletions R/msigdbr-collections.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
#' @param db_species Species abbreviation for the human or mouse databases (`"Hs"` or `"Mm"`).
#'
#' @importFrom dplyr arrange count distinct
#' @export
#'
#' @examples
#' \donttest{
#' msigdbr_collections()
#' }
#' @export
msigdbr_collections <- function(db_species = "Hs") {
# Check that msigdbdf is installed
msigdbr_check_data()
Expand Down
3 changes: 0 additions & 3 deletions R/msigdbr-species.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
#' @importFrom dplyr arrange distinct select
#'
#' @export
#'
#' @examples
#' msigdbr_species()
msigdbr_species <- function() {
babelgene::species() |>
as_tibble() |>
Expand Down
13 changes: 1 addition & 12 deletions R/msigdbr.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' Starting with release 2022.1, MSigDB incorporated a database of mouse-native gene sets and was split into human and mouse divisions ("Hs" and "Mm").
#' Each one is provided in the approved gene symbols of its respective species.
#' The versioning convention of MSigDB is in the format `Year.Release.Species`.
#' The genes within each gene set may originate from a species different from the database target species, indicated by the `gs_source_species` and `db_target_species` fields.
#' The genes within each gene set may originate from a species different from the database target species as indicated by the `gs_source_species` and `db_target_species` fields.
#'
#' Mouse MSigDB includes gene sets curated from mouse-centric datasets and specified in native mouse gene identifiers, eliminating the need for ortholog mapping.
#'
Expand All @@ -27,17 +27,6 @@
#' @importFrom dplyr arrange distinct filter inner_join mutate rename select
#'
#' @export
#'
#' @examples
#' # get all human gene sets
#' \donttest{
#' msigdbr(species = "Homo sapiens")
#' }
#'
#' # get mouse C2 (curated) CGP (chemical and genetic perturbations) gene sets
#' \donttest{
#' msigdbr(species = "Mus musculus", collection = "C2", subcollection = "CGP")
#' }
msigdbr <- function(species = "Homo sapiens", db_species = "HS", collection = NULL, subcollection = NULL, category = deprecated(), subcategory = deprecated()) {
# Check that msigdbdf is installed
msigdbr_check_data()
Expand Down
13 changes: 1 addition & 12 deletions man/msigdbr.Rd

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

5 changes: 0 additions & 5 deletions man/msigdbr_collections.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/msigdbr_species.Rd

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

0 comments on commit da283fe

Please sign in to comment.