Skip to content

Comparison

phamongi edited this page Aug 9, 2024 · 2 revisions

The package can be a way to compare different set. You can per exemple :

  • Compare your interest set to a reference set
  • Compare multiple interest sets as different subsets of a reference set

Compare your interest set to a reference set

To do so you must have :

  • An interest set
  • A reference set (the interest set included in the reference)

You can turn the parameter ref_base to True or use --r_base command line argument to have the reference set as the base sunburst figure. Then, only the sectors of the interest set will be colorized on the figure.

If ref_base is False, you can also see the reference set mesures in comparison to the interest set in the hover boxes while hovering different sectors.

You can choose a comparison by calculating enrichment values or just use topology to compare cumulative weights.

Compare multiple interest sets as different subsets of a reference set

You can also compare multiple subset from the same reference set by generating several sunbursts : 1 for each subset.

To see a clear comparison we recommend to turn the parameter ref_base to True or use --r_base command line argument.

If you use topology analysis and want to compare multiple figure you should fix the kwarg c_max value to the same maximal value for each figure. This way you will get the exact same colorscale for each figure.

If you don't know the maximal value (that will be the case if you don't pre-calculate your cumulative weights), run once with the default c_max value. Get the maximal root count number among all your figures and re-generate your figure with this value as c_max.

Clone this wiki locally