dot-check_validity: Checks validity of the argument passed to d3Venn

Description Usage Arguments Value Note

Description

The sanity checks for d3Venn are outsourced to this function for cleaner code.

Usage

1

Arguments

sets

object, will be checked if it fits the requirments of d3Venn

Value

A list with the follwing elements:

Note

Not all logical errors will be covered here for simplicity. For instance missing lower order intersections and or size restrictions on lower order intersections are not checked. Rational behind this is that we want to make sure that there is at least a plot, even if it is not as intended. We add some more tests than strictly necessary for this goal becasue they were rather easy to implement. The rest is left to the user to investigate further. A close look into the JS console reveals if there were erros during the rendering.

The following issues are checked:


thothal/d3Venn documentation built on Dec. 31, 2020, 8:38 a.m.