plot_specs_shiny: plot_specs_shiny

Description Usage Arguments Value Author(s) Examples

View source: R/plot_specs_shiny.r

Description

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.

Usage

1
plot_specs_shiny(sl, fd = NULL, fd_id_col = 1)

Arguments

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).

Value

Returns output of shiny::shinyApp(). If run locally, this will manifest as a browser window opening with an interactive visualization.

Author(s)

John L. Darcy

Examples

1
2
# attach(antarctica)
# plot_specs_shiny(antarctica_specs_list, antarctica_taxonomy, 1)

darcyj/specificity.shiny documentation built on Dec. 19, 2021, 8:11 p.m.