Description Usage Arguments Value Author(s) Examples
View source: R/plot_specs_shiny.r
Runs an interactive shiny visualization. Data can be re-downloaded from that visualization, in either "wide" or "long" format. See ?aggregate_specs_list for explanation of those formats.
1 | plot_specs_shiny(sl, fd = NULL, fd_id_col = 1)
|
sl |
specs_list. A named list of outputs from phy_or_env_spec. See examples. |
fd |
data.frame. Optional feature data - a data.frame object with one row per feature, including some column with feature IDs that includes feature IDs in sl as rownames. If NULL, no feature data will be used (default:NULL). |
fd_id_col |
integer or string. Either the column number of fd containing feature IDs (see above), or the column name of that column (default: 1). |
Returns output of shiny::shinyApp(). If run locally, this will manifest as a browser window opening with an interactive visualization.
John L. Darcy
1 2 | # attach(antarctica)
# plot_specs_shiny(antarctica_specs_list, antarctica_taxonomy, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.