cognoma / frontend

Frontend for Project Cognoma
http://cognoma.org/
Other
4 stars 22 forks source link

Double-check Pos/Neg Calculations #142

Closed ramenhog closed 6 years ago

ramenhog commented 6 years ago

Currently, it seems like when more genes are added to the query, the number of pos/negs associated with some diseases actually go down...which shouldn't happen.

ramenhog commented 6 years ago

This definitely seems like a backend issue. The frontend is passing back associated disease and the added query param genes as query string parameters to this endpoint:

https://api.cognoma.org/samples

Which seems to be returning the number of positives associated with the intersection of all the genes, not the union which is what we actually want.