I finally got around to writing up my previous efforts as a R package. You can find it on CRAN right here: https://CRAN.R-project.org/package=barplot3d
It even includes a convenient function to create “legoplots” of sequence context if that’s something you want to do. As it says in the vignette that goes with the package: One must be careful when using 3D plots of any kind. It is trivial to make them cool and misleading. I hope this package and vignette enables the former and deters the latter. Good luck.


install.packages("barplot3d") library(barplot3d) ## Make a pretty 3D barplot with more advanced features inputdata=round(rnorm(15,10,3)) barplot3d(rows=3,cols=5,z=inputdata,scalexy=5,alpha=0.4,theta=30,phi=50, topcolors=rainbow(15),xlabels = 1:5,ylabels=LETTERS[1:3], xsub="Numbers",ysub="Letters",zsub="Count")
