mims-harvard / TDC

Therapeutics Commons (TDC-2): Multimodal Foundation for Therapeutic Science

Home Page:https://tdcommons.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding gene symbols for GDSC

kexinhuang12345 opened this issue · comments

Describe the problem
Adding a function for gene symbols in GDSC gene expressions.

Describe the solution you'd like

from tdc.multi_pred import DrugRes
data = DrugRes(name = 'GDSC1')
data.get_gene_symbols()
## ['TSPAN6', 'TNMD', ....]

Similarly for GDSC2.

Additional context
NA

You can now get the symbols via:

from tdc.multi_pred import DrugRes
data = DrugRes(name = 'GDSC1')
data.get_gene_symbols()