bigomics / playbase

Core back-end functionality and logic for OmicsPlayground
Other
4 stars 0 forks source link

Fix drug sensitivity and activity computation #104

Closed mauromiguelm closed 6 months ago

mauromiguelm commented 7 months ago

fixes https://github.com/bigomics/omicsplayground/issues/906

This pull request includes the following changes:

Human example

> names(pgx$drugs)
[1] "L1000/activity"     "L1000/gene"

after fix:

> names(pgx$drugs)
[1] "L1000/activity"     "L1000/gene"         "CTRPv2/sensitivity"
[4] "GDSC/sensitivity"

Non human example

before fix

> pgx$drugs
NULL

after fix

> names(pgx$drugs)
[1] "L1000/activity"     "L1000/gene"         "CTRPv2/sensitivity"
[4] "GDSC/sensitivity"