i've currently implemented a getHistogram functionality that will take a set of phentoype_associations and generate a histogram object (given a set of phenotype categories with which to classify). this currently calls the summary info method from owlsim. but this should be refactored to call a new function (not yet written) in owlsim that will:
return categorical classifications of a phenotype set (given a set of categories)
list the phenotypes (array?) that are subclasses of each category. (subclasses?) (this would allow dynamic re-querying for drilling down a graph.)
query: a=[P1, P2, P3], r=[C1,C2,C3]
possible blob: results=[{item:{id: C1, label:C1label}, includes : [P1,P2]}, {item: {id : C2, label:C2label}, includes : [P3] }, {item: {id : C3, label : C3label}, includes : []}
we might e able to simply augment the getAnnotationInfo function, because it nicely includes other summary stats (including IC measures), so that if the user wanted to be able to plot the informational properties (instead of just counts) to get a sense of proportion of information a phenotype contributed in the overall set, the IC score could be used to show it.
i've currently implemented a getHistogram functionality that will take a set of phentoype_associations and generate a histogram object (given a set of phenotype categories with which to classify). this currently calls the summary info method from owlsim. but this should be refactored to call a new function (not yet written) in owlsim that will:
query: a=[P1, P2, P3], r=[C1,C2,C3]
possible blob: results=[{item:{id: C1, label:C1label}, includes : [P1,P2]}, {item: {id : C2, label:C2label}, includes : [P3] }, {item: {id : C3, label : C3label}, includes : []}
we might e able to simply augment the getAnnotationInfo function, because it nicely includes other summary stats (including IC measures), so that if the user wanted to be able to plot the informational properties (instead of just counts) to get a sense of proportion of information a phenotype contributed in the overall set, the IC score could be used to show it.