Output and render functions for using phylocanvas within Shiny applications and interactive Rmd documents.
phylocanvasOutput(outputId, width = "100%", height = "400px") renderPhylocanvas(expr, env = parent.frame(), quoted = FALSE)
outputId | output variable to read from |
---|---|
width, height | Must be a valid CSS unit (like |
expr | An expression that generates a phylocanvas |
env | The environment in which to evaluate |
quoted | Is |