- 1 Features and Mockups
- 2 Functionality
- 3 Features
- 4 Application Design/Tools and Technologies
- 5 Data Source
- 6 Project Roadmap
- 7 Status
- 8 Completed Tasks
- 9 Feedback Phase (Jan 8th)
- 10 What to do next ?
- 11 People
- 12 Source Code
Features and Mockups
The project plans to provide important features and functionalities to enable users interested in gene list comparison and visualization with clear set of requirements possible. The following sections list and illustrate (with mockups and use cases) important user experience (visuals, information structure, and interaction), functionality and features of the project work.
User Experience (UXD)
The project aims to provide a single page application structure, high interaction, better data input and output support, and better data visualization for a good user experience and satisfaction possible.
The work plans to understand users’ value for accessibility and list comparison requirements to achieve good usability. It aims to maintain as well clear visual interaction possible by a minimum sets of simple and less loaded page.
Visuals and Interaction
Information Structure (data, presentation...)
- Program takes the lists as input. Normally having the same characteristic, the items on the same list are put in the one set.
- Find out the elements which are in the intersection of sets.
- The Venn diagram with at most 6 different groups.
- Can highlight a specific set. Show all the elements in the highlighted group.
- Calculate area of the set (including overlapping area). The group which has more elements should occupy more area.
- Show and hide specific set in Venn diagram.
- Save the result diagram as image file.
- Take input with different format. Beside read the input form user interface, the program can be fed with file. So far CVS and JSON are on the top of the list. This feature is useful when the input data is huge.
- Searching the element
- Represent the classic Venn diagram. Maybe Edwards’ also if we have the time.
- Can use bar chart as supporting graph.
- Customize diagram color.
- May have a 3D Venn diagram. However, this may not be a good idea in some cases. For example, spheres Venn diagram may be a bad visualization way when there are too many sets.
Application Design/Tools and Technologies
Expected Technical Challenges
- Creating circles having the ability to adapt and change in shape with respect to lists size and intersections between them. Specially when complexity increases.
- Calculating the intersection between 2 or more of the given lists. An example of the different levels of intersection is shown in the next figure.
- Highlighting the complete intersected shapes according to the user cursor position.
Libraries and Frameworks
At the moment we are thinking of using d3, other than that it is clear we will use others frameworks and libraries as needed.
Input data consists of up to 6 lists of genee list items to be compared. Lists can be empty or filled according to the input items. Additionally, Lists can be loaded from external file, like JSON, CSV ...
- 27/11 Can show circles with different size according to number of element contain without overlapping. Find out the element in the same group.
- 04/12 At least can show 4 different groups properly in one Venn diagram with overlapping, start working on a simple GUI
- 11/12 Start working on file parser. Working on interactive visualization, for example, highlighting the specific set.
- 17/12 The basic Venn diagram should be finished. Start to work on different mode. (Edwards’) Adding the supporting bar chart.
- 24/12 Customize color. Show and hiding specific set. Start working on more impress effect. (3D Venn diagram)
- 1/1 Review and documentation
- 8/1 Submit
- Read papers on Gene List Visualizations, from other projects.
- Tried a skeleton work on drawing circles of lists.
- Creating text areas to take inputs(list name + list values). Three lists for now.
- Creating intersecting circles for given lists.
- Show the number of items for each list on the corresponding circle.
- Show the items name for each list once the mouse cursor is over the corresponding circle and highlighting it.
- Calculate the intersection for two lists or more and show the number of intersected items between the corresponding circles. Additionally the intersected Areas are highlighted once the mouse cursor moves over it and show the intersected items in a textbox.
- Now the user can enter up to four lists, and they are drawn as ellipses instead of circles. Also intersections are calculated for all lists (2 lists or more).
- We made the drawings colors more brighter so the user can distinguish between them more easily.
- User can enter up to seven lists and calculate intersection for them.
- A "Load Sample" button has been added which loads a fixed sample, so the user can see how the diagram looks like with seven lists.
- We added a text area to show the common elements of intersected lists or the elements inside a list once the user clicks on the the corresponding area of intersection or list.
- We added "Upload File" button which allows the user to upload any json file with a specific format for parsing the file and loads it into the diagram.
- Json file formats should be similar to this : (The user can only change the items inside the lists s1,s2,s3,s4,s5,s6 and s7, Or remove the list itself)
- Now the user can toggle the visibility of list textboxes.
- We added a "Clear" button for each list so the user can clear them right away by one click.
Feedback Phase (Jan 8th)
- It is possible for a user to define any name of a list in the JSON file and the name will be reflected list name and the overlaps of the lists. E.g. if a user provides two lists named ‘control’ and ‘disease’, then list1 on the left side will be called ‘control’ and list2 ‘disease’. If a user clicks with the mouse at their intersection, then the intersection will be called ‘Common elements in control and disease’ (we didn't show it once the user hovers over the intersection due to the limited size of the tooltip and if we increase the size it will not look very good for the user). Also the user Can change the name of the lists freely if he wants.
- Since for many lists it is often not easy to click with the mouse at the intersection, we implemented a functionality that would allow the user to download a text file with the results of all intersections for the current Diagram using the "Export file" button.
- We provided a functionality to export the visualization in png, pdf, jpeg, svg or to just make a screenshot.
- There is a page now for the about.
- There is a page for the Documentation.
What to do next ?
- Submission to BioJS 2.0.
- Source code : Venn Diagram Source code on Github
- Live example : Venn Diagram live example