Skip to content

Commit

Permalink
Merge pull request #37 from Al-Murphy/main
Browse files Browse the repository at this point in the history
Add yeast as a valid taxonomy choice
  • Loading branch information
bschilder authored Oct 27, 2023
2 parents c57a55a + b5cf10a commit 51aaab2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: orthogene
Type: Package
Title: Interspecies gene mapping
Version: 1.7.2
Version: 1.7.3
Authors@R:
c(
person(given = "Brian",
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# orthogene 1.7.3

## New features

* Added yeast (_Saccharomyces cerevisiae_) as a valid taxonomy choice.

# orthogene 1.7.2

## Bug fixes
Expand Down
4 changes: 3 additions & 1 deletion R/common_species_names_dict.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ common_species_names_dict <- function(species = NULL,
"taxonomy_id"=2)
type_select <- type_dict[[type]]
#### dictionary ####
#taxonomy IDs taken from NCBI Taxonomy browser
dict <- list(
"human" = c("Homo sapiens",9606),
"humans" = c("Homo sapiens",9606),
Expand Down Expand Up @@ -45,7 +46,8 @@ common_species_names_dict <- function(species = NULL,
"worms" = c("Caenorhabditis elegans",6239),
"earthworm" = c("Eisenia andrei",168636),
"earthworms" = c("Eisenia andrei",168636),
"rice" = c("Oryza sativa",4530)
"rice" = c("Oryza sativa",4530),
"yeast" = c("Saccharomyces cerevisiae",4932)
)
#### Return entire dict if NULL ####
if (is.null(species)) {
Expand Down

0 comments on commit 51aaab2

Please sign in to comment.