Skip to content

Commit

Permalink
NCBI update + cancer gene roles
Browse files Browse the repository at this point in the history
  • Loading branch information
sigven committed Sep 12, 2023
1 parent ee2b7fe commit 56366be
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 894 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: geneOncoX
Type: Package
Title: Human gene annotations for the oncology domain
Version: 0.7.8
Date: 2023-08-08
Date: 2023-09-12
Authors@R: person(given = "Sigve", family = "Nakken", role = c("aut", "cre"),
email = "sigven@ifi.uio.no",
comment = c(ORCID = "0000-0001-8468-2050"))
Expand All @@ -25,8 +25,7 @@ Imports:
readr,
stringr,
DT,
plyr,
purrr
plyr
Suggests:
testthat (>= 3.1.0),
knitr,
Expand Down
7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Version 0.7.6
# Version 0.7.9

* NCBI gene function update
* Helper function `get_cancer_gene_roles` updated

# Version 0.7.8

* Grab gene names/descriptions from Ensembl if missing from NCBI

Expand Down
2 changes: 1 addition & 1 deletion R/gene_onco_xref.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ get_gox_data <- function(cache_dir = NA,
"', argument force_download = FALSE"
))
lgr::lgr$info(paste0("Object 'gene_", db, "' sucessfully loaded"))
if (db == "gencode") {
if (startsWith(db,"gencode")) {
lgr::lgr$info(paste0(
"Retrieved n = ", nrow(dat[["records"]][["grch37"]]),
" records for",
Expand Down
Loading

0 comments on commit 56366be

Please sign in to comment.