MaayanLab / signature-commons-ui

A front-end UI for demoing API integration
https://amp.pharm.mssm.edu/sigcom/
Other
6 stars 3 forks source link

Are we arbitrarily choosing the down genes here? What would be better? #203

Open u8sand opened 4 years ago

u8sand commented 4 years ago

https://github.com/MaayanLab/signature-commons-ui/blob/d30d05cb1584c92267a7e3adcb011c025aa4fe97/components/Options.js#L143-L155

Same thing here: https://github.com/MaayanLab/signature-commons-ui/blob/master/components/MetadataSearch/download.js#L290-L301

u8sand commented 4 years ago

Perhaps using the top absolute genes, e.g.

[
...signature.data.slice(0, 125),
...signature.data.slice(signature.data.length - 125)
]

@lachmann12 ? This relates to grabbing genes from a ranked matrix for which to send to Enrichr