statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
154 stars 29 forks source link

Superscript for scientific notation #114

Open welchr opened 7 years ago

welchr commented 7 years ago

Look into how we might go about allowing the exponent from the logtoscinotation transformation to be returned in superscript, for example with <sup>.

One hitch to this currently is the htmlescape transformation that is applied currently after logtoscinotation. Some followup is needed to check if there are other places where logtoscinotation is used, and returning HTML would break something that expects text-only.