linnarsson-lab / loom-viewer

Tool for sharing, browsing and visualizing single-cell data stored in the Loom file format
BSD 2-Clause "Simplified" License
35 stars 6 forks source link

Tutorial Page #107

Open JobLeonard opened 7 years ago

JobLeonard commented 7 years ago

Tracker for what needs to be put in the tutorial, as well as what it needs to support. Current plan: do in-line mini-tutorials first, and more elaborate tutorials later.

Inline Tutorial Pop-ups

Patrick suggested adding 🛈 buttons with a pop-up when you click it, adding "I never bother reading through a long tutorial page, I want my explanations right there where and when I need it!" - and I'm inclined to agree.

This would be either instead of the current tooltip explanation, or perhaps in addendum. It would give a more elaborate explanations of what each feature does. Bootstrap comes with a pop-over component that will work just for that purpose:

https://react-bootstrap.github.io/components.html#popovers

Given that we can use pure HTML inside the pop-over, it would even allow for the embedding of small images for clarity:

pop-over

This should be where the direct explanations for how to use various settings should go.

Example: setting the X/Y attributes, what Log and Jitter are for, how to use gene selection component

Tutorial page

Writing a good tutorial page is really hard, if only because there's a lot that can be explained and it needs to be easy to find the relevant information. It might be easier to start with writing inline pop-overs first, which give direct explanations of specific elements (like x/y attributes on the scatterplot), and then from that distill a tutorial page with a "narrative" for how open certain types of plots.

Example: how to use the cell-scape view to create a "beeswarm"-like plot. This would require:

image

Other example: how to sort the sparklines:

image

image

image

Also: tag various tutorials with related keywords people might search for using CTRL+F.