DOSE icon indicating copy to clipboard operation
DOSE copied to clipboard

[Feature Request] Allow conversion to columns other than hgnc symbol

Open Nelson-Gon opened this issue 2 years ago • 0 comments

Prerequisites

  • [x] Have you read Feedback and follow the guide?
    • [x] make sure your are using the latest release version
    • [x] read the documents
    • [x] google your quesion/issue

Describe you issue

  • [x] Make a reproducible example (e.g. 1)
  • [x] your code should contain comments to describe the problem (e.g. what expected and actually happened?)

Ask in right place

  • [x] for bugs or feature requests, post here (github issue)
  • [x] for questions, please post to Bioconductor or Biostars with tag DOSE

Hello,

I was looking at setReadable and was happy to note that this exists and works well for conversion to gene symbols. I think sometimes it may be necessary to convert to an ensembl ID instead and it would be great if there were support for this.

Looking at https://github.com/YuLab-SMU/DOSE/blob/20c57bc217fa9aa17dc642ec047bd80a1848efe5/R/setReadable.R#L53, it seems EXTID2NAME only currently does keytype -> gene symbol conversion.

I envision this would consist of a switch and perhaps an extra argument requesting for the target conversion.

Thank you,

NelsonGon

Nelson-Gon avatar Mar 02 '22 09:03 Nelson-Gon