Skip to content

Commit

Permalink
'from' is col -> also ext_gene_name
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Oct 19, 2023
1 parent 588fa72 commit 26eb6b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions process/idmap/gene.r
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ gene = function(obj, from=NULL, to, dset, summarize=mean) {
}

gene.character = function(obj, to, from=.guess$id_type(obj), dset=.guess$dset(obj), summarize=mean) {
if (from %in% c("hgnc_symbol", "mgi_symbol"))
from = "external_gene_name"
if (to %in% c("hgnc_symbol", "mgi_symbol"))
to = "external_gene_name"

Expand Down

0 comments on commit 26eb6b4

Please sign in to comment.