jokergoo / simona

Semantic Similarity in Bio-Ontologies
https://jokergoo.github.io/simona/
Other
15 stars 1 forks source link

Dot sizes p value #3

Open dovneste opened 9 months ago

dovneste commented 9 months ago

Hi,

We want to present significant GO terms from a GO enrichment analysis on using dag_circular_viz (as in Figure 1 of the preprint). How can we present dot sizes as p values of the enrichement analysis.

Kind regards,

Domien

jokergoo commented 9 months ago

You need to define a function which calculates dot sizes based on -log10(p-values). See the code for generating figure 1:

https://github.com/jokergoo/simona_supplementary/blob/master/figures/figure1.R

Also you need to generate a legend for p-values.