GithubHelp home page GithubHelp logo

heberleh / interactivenn Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 13.0 1.33 MB

InteractiVenn: a web-based tool for the analysis of sets through Venn diagrams

License: Other

HTML 35.92% CSS 4.22% JavaScript 39.20% Shell 0.19% Python 20.40% Batchfile 0.07%

interactivenn's People

Contributors

heberleh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

interactivenn's Issues

Visualize Probabilities instead of Counts

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Make download of files compatible with Safari

The app uses an outdated library to export files.

It may not work in Safari.

The function saveAs() comes from the old library https://github.com/eligrey/FileSaver.js (npm install file-saver --save)
that can be updated in the code or replaced with a better one.

Here is an example of its use:

saveAs(new Blob([dataset], {type: "text/plain;charset=" + document.characterSet}), document_name);

Migrate to React

Interactivenn was written in poor and simple Javascript.
Many functions are duplicated, etc.

React can be used to manage the state of the App, interactivity and inputs, which in turn call the Services to deal with the data.

Because of flexibility, webpack should be used directly, that is, avoid using create-react-app. This will give us flexibility to generate web and module distributions. I believe it may help in a slow migration to Typescript #7 too.

Code, GUI, Help page, Interactivity and other improvements required

InteractiVenn is a free tool and widely used by scientists worldwide, counting with many accesses daily.

I welcome any help with improvements in the GUI, code, interactivity or adding new features.

It also has a Help page which would be great for everyone if it's improved.

Support for big datasets

The tool uses the input boxes as controllers of the data. If the users input data in the boxes, the diagram updates.

However, input boxes have limits: big datasets cannot be copied/pasted or uploaded because the rendering will fail. The browser will get stuck.

A way to contour this problem is to allow upload of bigger files and, if the number of elements is above a threshold, it deactivates the text boxes and only shows the number in the diagram. This means that the text boxes will not display any element.

A mouse-click on a number of the diagrams opens a pop-up with elements in the intersections. This needs to be tested. If it is too much data, it needs to be deactivated too.

A test set has to be prepared, with, for example, 200 MB of data. Maybe some genomes.

Upload/download of .xls instead of .ivenn only

Users can download/upload as .ivenn, but it makes much more sense to upload/downlod .xls (Excel) tables since Biologists use that software.

They copy/paste the sets, currently, from a spreadsheet to the InteractiVenn. Then they decide if they want to save the result by downloading the .ivenn.

An option to upload XLS could follow the standard:

  • each column is a set
  • first row is the set name
  • follow rows are elements
  • the first 6 columns are parsed into sets (can have fewer columns, can have more, but only up to six are read)
  • values in cells must be "trimmed"
  • values must be unique (a test must be run and alert a pop-up or show a modal when duplicates are found, and tell users that we ignored duplicates, therefore the total number of elements is smaller than what they find in the spreadsheet)

Add Announcements section that the user can close [x]

When users should be informed of important message or new features, a rectangular box could be displayed at the top. Perhaps between the top-bar and the diagram section.

Ideally, once the user clicks [X] (close), the message would not appear anymore for this user (in the same browser).

Perhaps there is already some React library that does the job.

Searching

Text box to search for an element, highlighting the right boxes when they contain it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.