joey711 / shiny-phyloseq

An interactive web application for demonstrating and using phyloseq.
http://joey711.github.io/shiny-phyloseq
GNU General Public License v3.0
60 stars 45 forks source link

Richness - max samples x-axis default #32

Closed joey711 closed 10 years ago

joey711 commented 10 years ago

Should make this a user-accessible option in case they want to change it. "samples" can and should be the default x-axis variable, but it makes the plot very slow to render when attempting to print too many labels on top of each other on the graphic. Unreadable in that case anyway. 30 or so might be a useful ceiling.

Also add an x-axis orientation widget, in case labels need to be rotated.

Once implemented, the re-render button will no longer be needed on this graphic, as protecting against excessive x-axis labels was the main reason for having it.

joey711 commented 10 years ago

See

theme(axis.text.x=element_blank())

and

theme(axis.text.x=element_text(angle = 90, vjust = 0.5))