draw_server.RdModule UI
draw_server(id, phylogeny, modules = "L") draw_ui(id, phylogeny, modules = "L")
| id | character, namespace id |
|---|---|
| phylogeny | object of class |
| modules | modules to include in the tree-drawing application (or page).
See |
UI and server logic for plotting and interactive modification of a phylogeny
Trees with > 200 tips will in most cases be illegible. Tip names become illegible in smaller trees.
if (interactive()) { library(ape) data("bird.orders") ui <- fluidPage( titlePanel("Shiny module to draw phylogenetic trees"), mainPanel( draw_ui(id = "id", modules = "LPTB") ) ) server <- function(input, output, session) { draw_server(id = "id", phylogeny = bird.orders, modules = "LPTB") } shinyApp(ui = ui, server = server) }