R code for visualizing TEM output interactively with the shiny package