iobio / genepanel.iobio

Genepanel.iobio: generate list of genes based on suspected conditions and phenotypes.
https://genepanel.iobio.io/
11 stars 3 forks source link

Show a visualization (histogram) in phenolyzer table. #335

Open adityaekawade opened 5 years ago

AlistairNWard commented 5 years ago

The idea would be to include an inline chart in the table of returned genes showing a histogram of the scores for the gene based on all search terms. y-axis would be the number of search terms with the score, and the x-axis would be the score, so range from 0-1. The idea would be that if you searched on several terms, we could have a mean score based on all terms (e.g. 0.5), but this chart would show how the score is distributed across all terms. If one term was 0.01, and the other was 0.99, the average would be 0.5, the gene would be present for both terms, but we would consider this gene differently to both search terms returning a score of 0.5. In these cases, the chart would show either a) a bar of height 1 at both the leftmost and rightmost bin, or b) a bar of height 2 in the centre bin.