The goal is to set up a Django management command and API route (with authentication support) for deleting HiGlass tilesets. We will do the work on a t2.micro EC2 instance running Ubuntu 18.04 (ami-0f65671a86f061fcd). Nodejs Installation Install node, npm, and npx from Nodejs: $ cd ~ $ wget -qO- https://nodejs.org/dist/v11.1.0/node-v11.1.0-linux-x64.tar.xz > node-v11.1.0-linux-x64.tar.xz $ tar xvf […]
Category Archives: visualization
Installing pygraphviz in OS X 10.12
This assumes Homebrew is installed and that it installs Graphviz 2.40.1:
Adding same-sex marriage law data to a d3-cartogram
Shawn Allen wrote a d3.js-based implementation of a 2D cartogram, which sizes US states in an area-proportional manner, where area is based on some interesting statistic, like population. There has been a great deal of progress made in the last year in defending the rights of GLBT Americans to marry and have their partnership rights […]
matrix2png -to- matrix2pdf
For scientific work, I have used matrix2png to make a nice PNG image from a text-formatted matrix of data values. PNG looks great on the web, but it doesn’t translate well to making publication-quality figures. My thought was to take matrix2png and — with the help of Haru (libharu) — turn it into matrix2pdf. Maybe I […]
Installing rgl in R under OS X Lion
I had recently updated my copy of R to 2.15.1 and ended up needing to reinstall some libraries, including rgl. If you use this R library, it can be tricky to install with the built-in build of Mesa/OpenGL in Lion. In fact, a straightforward install.packages(“rgl”) just won’t work at all. But after using MacPorts to […]