Skip to content

Commit

Permalink
I thought OmnipathR already accepts organism names saezlab/CollecTRI@
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Oct 3, 2023
1 parent 21d7b9a commit f72c23b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/omnipath.R
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ omnipath_check_param <- function(param){
param$fields
)

# allow organism names
param$organisms %<>% map_int(ncbi_taxid)

# removing some fields according to query type
if(!param$query_type %in% c('interactions', 'enzsub')){
param$genesymbols <- NULL
Expand Down

0 comments on commit f72c23b

Please sign in to comment.