This module generates a svg file containing a 5 way venn diagram. It was used to generate the diagrams representing the overlap between the different methods. You can see a sample diagram in Figure 1.
Creates the html tag to display text on the Venn diagram.
Parameters: |
|
---|---|
Returns: | A string representing the html for this label. |
Return type: | str |
Creates a Venn diagram from a dictionary of counts for the different sets.
Parameters: |
|
---|
Takes a dictionary containing elements of the power set of {a,b,c,d,e} as keys and the count for every category as values.
Creates the Venn diagram from the lists of CNVs for the different methods.
Parameters: |
|
---|---|
Returns: | The counts dictionary that can be used by the create_venn_from_dict() method. |
Return type: | dict |
Since the equivalence between two CNVs is hard to define, we used the method described below to generate the counts for every method. CNVs from the same algorithm that are linked through chaining with other CNVs are discarded from the Venn.
e.g.
1. ======= ========
2. =========
3. ========
4. ==========
In the above example, the two distinct CNVs from algorithm one are in the same cluster when considering R.O. > 70%. Thus, we will discard the second CNV from algorithm 1 from the analysis, as incrementing the count would affect the absolute counts from the other algorithms. We will remember the ignored CNVs.