Skip to content

vague message in gene ID conversion #62

@katehoffshutta

Description

@katehoffshutta

The message There was at least one one-to-many mapping (most probably from multiple ensembl IDs for the input) is output from the geneENSGToName function, but the output suggests this is a many-to-one mapping, and the lack of inclusion of the original ENSG in the output table makes it hard to understand.

Changes to be made:

  1. the original ENSG should be returned as part of the output table
  2. the informational message should be clarified (is it many-to-one or one-to-many?), and probably set as a warning

Example of such output is given below.

> expr_gene_map %>% dplyr::filter(gene_id_no_ver %in% gene_id_no_ver[duplicated(gene_id_no_ver)])
    gene_id_no_ver     gene_name
1  ENSG00000169093         ASMTL
2  ENSG00000169093         ASMTL
3  ENSG00000205755         CRLF2
4  ENSG00000205755         CRLF2
5  ENSG00000223571     DHRSX-IT1
6  ENSG00000223571     DHRSX-IT1
7  ENSG00000237040        DPH3P2
8  ENSG00000237040        DPH3P2
9  ENSG00000178605        GTPBP6
10 ENSG00000178605        GTPBP6
11 ENSG00000229232      KRT18P53
12 ENSG00000229232      KRT18P53
13 ENSG00000230542     LINC00102
14 ENSG00000230542     LINC00102
15 ENSG00000226179     LINC00685
16 ENSG00000226179     LINC00685
17 ENSG00000265658       MIR3690
18 ENSG00000265658       MIR3690
19 ENSG00000277120       MIR6089
20 ENSG00000277120       MIR6089
21 ENSG00000223274     RNA5SP498
22 ENSG00000223274     RNA5SP498
23 ENSG00000223511 RP13-297E16.4
24 ENSG00000223511 RP13-297E16.4
25 ENSG00000225661       RPL14P5
26 ENSG00000225661       RPL14P5
27 ENSG00000169100       SLC25A6
28 ENSG00000169100       SLC25A6
29 ENSG00000223484        TRPC6P
30 ENSG00000223484        TRPC6P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions